Skip to content

Simple React application with the viewer embedded into it using a custom wrapper component.

License

Notifications You must be signed in to change notification settings

autodesk-platform-services/viewer-react-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Viewer React Sample

platforms node.js npm license

This code sample is referenced by the following blog post: https://aps.autodesk.com/blog/building-simple-react-wrapper-viewer

Simple React application (bootstrapped using Create React App) with the viewer embedded into it using a custom wrapper component.

thumbnail

Development

Prerequisites

Running

  • Clone this repository, and navigate to the repo folder in terminal
  • Install dependencies: npm install
  • Go to src/index.jsx, and update the APS_ACCESS_TOKEN and APS_MODEL_URN constants with your access token and model URN
  • Run npm start to open the application in development mode
    • The app should automatically open in your browser (if not, navigate to http://localhost:3000)
    • When you make any changes to the code, the page will automatically reload

Troubleshooting

Please contact us via https://aps.autodesk.com/en/support/get-help.

License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for more details.

About

Simple React application with the viewer embedded into it using a custom wrapper component.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published