https://github.com/nyan-left/zappar-js-example
https://github.com/nyan-left/zappar-js-example
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nyan-left/zappar-js-example
- Owner: nyan-left
- Created: 2022-01-14T17:36:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-14T17:46:17.000Z (over 3 years ago)
- Last Synced: 2025-01-30T01:28:36.130Z (4 months ago)
- Language: JavaScript
- Size: 2.49 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zappar JS
## Webpack Bootstrap ProjectIn this project you'll find an Node.js project that gets you up and running with Zappar for Javascript.
Head to the NPM package page for more information on how to build best-in-class AR experiences: [Zappar for JavaScript](https://www.npmjs.com/package/@zappar/zappar) (@zappar/zappar)
The project has been set up to use webpack for bundling assets and code. To get started, install the project's dependencies by running the following command:
```bash
npm install
```During development, you can use the following command to run a `webpack-dev-server` for testing on your computer or a device on your local network:
```bash
npm run dev-server
```And when you're ready to publish your site, run the following command. The resulting `dist` folder can be uploaded to ZapWorks for publishing. If you'd like to self-host your site, be sure to check out the documentation on the [Zappar for JavaScript](https://www.npmjs.com/package/@zappar/zappar) page.
```bash
npm run build
```