Source for http://array.vc
# install node version manager - https://github.com/creationix/nvm#installation
nvm install v12
nvm alias default v12
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# or, after building, run a server with production build
cd dist && python -m SimpleHTTPServer 8000
# build for production with minification
npm run build
- Make sure
assetsPublicPath
in config/index.js is/
underbuild:
section - Run
npm run build
- FTP
dist/index.html
&dist/static/
up to the root directory to replace existing - Open http://array.vc/ in browser
- Change
assetsPublicPath
in config/index.js from/
to/next
underbuild:
section - Run
npm run build
- FTP
dist/index.html
&dist/static/
up to the/next
dir - Open http://array.vc/next in browser
# build for production and view the bundle analyzer report
npm run build --report