Webpack-powered A-Frame SPA skeleton
You will need node
and npm
installed in your system. Once installed, simply run the following command from the root of the project:
$ npm install
Issuing the following command will run a local server with live-reload listening in port 8080
:
$ npm start
If you simply want to generate the JavaScript bundle for your demo, run the following command and the library will be under the dist
folder:
$ npm run build
Finally, if you want to publish your demo on GitHub Pages, run:
$ npm run deploy