Note 2: For plain-vanilla JavaScript top-level library, please use our GitHub repository cadviewer-script-library. Note 1: For any installation issues, please refer to CADViewer FAQ The types definitions can also be pulled from DefinitelyTyped, with npm i Notes: ![]() If using TypeScriptģ: If you are using typescript, then cadviewer.d.ts is in the /node_modules/cadviewer/dist/ */ folder after installation and is referenced through package.json. The assets can also be found in the /node_modules/cadviewer/dist/assets/ folder after installation. Add AssetsĢ: In your /src (Angular) or /public (NodeJS/VueJS) folder create the assets/cadviewer/ folder, then unzip and add the content from the CADViewer assets file: assets_cadviewer.zip (the folder structure will be /assets/cadviewer/app/.). ![]() ![]() See specifics below for each platform on how to add auxillary files and connect with the back-end CAD conversion server. Installing CADViewer CADViewer for frameworks (ReactJS, VueJS, Angular etc.) Install CADViewerġ: Install CADViewer with npm i cadviewer on all framework platforms.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |