frontend application for cykel - view, login and rent bikes
npm install
npm run serve
npm run build
npm run test
npm run lint
See Configuration Reference for Vue and the configuration files at config/
. The used configuration is set at build time by using NODE_ENV=production
(or development
, staging
).
For staging and production you may also set NPM_CONFIG_PRODUCTION=true
.
voorwiel is a single page application with client site routing. Because of this, your webserver also needs to serve index.html
on URLs that normally 404.
For nginx, you could do this with:
location / {
try_files $uri $uri/ /index.html;
}