Understanding the options that are passed to abcjs
This app contains every option that can be used in abcjs and allows the user to easily play with each option.
This app is deployed to Configurator so you don't have to clone the project to get the benefit of it.
The initial generation of this project was done with:
npx create-nuxt-app abcjs-configurator
npx: installed 318 in 9.43s
> Generating Nuxt.js project in /path/to/project/abcjs-configurator
? Project name abcjs-configurator
? Project description Understanding the options that are passed to abcjs
? Use a custom server framework none
? Use a custom UI framework vuetify
? Choose rendering mode Universal
? Use axios module yes
? Use eslint yes
? Use prettier no
? Author name Paul Rosen
? Choose a package manager npm
Start the server with:
npm run dev
The page is at localhost:3000
.
Static pages are generated into the /dist
folder, then those files are copied to the server. There is a bash script for that called deploy-to-production.sh
that does this:
./deploy-to-production.sh
It requires the file deploy-constants.sh
. You can see the format that this file should have by copying the file deploy-contants-example.sh
.
(These are the initial instructions that were generated with the example app.)
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm start
# generate static project
$ npm run generate
For detailed explanation on how things work, checkout Nuxt.js docs.