Generate a new module deriving from the template by using generate-module.sh
script.
Usage:
./scripts/generate-module.sh -m MyModule
This command generates a new module named MyModule in modules/
directory. The README.md
in that folder shows the route to the Hello World View.
npm install
npm run serve
or add backend-URL:
VUE_APP_BACKEND_URL=http://localhost:8000 npm run serve
npm run build
or add backend-URL:
VUE_APP_BACKEND_URL=http://localhost:8000 npm run serve
npm run test
npm run lint
npm run test:unit