Creating a Library
Creating a library can easily be done using the A-Frame Typescript generators.
1. Install yeoman
and the generator-aframe-typescript
A-Frame Typescript uses Yeoman for scaffolding new projects. The generator is available from NPM and can be installed using the following command.
2. Run the generator
Once installed you can run the generator to start the scaffolding
You will be asked some questions like the libraries name.3. Running the app
Once generated, you're all ready to go. Open up the folder in VS Code and use yarn dev
to take your newly created A-Frame + TypeScript app for a spin.