This project serves as a template to solve a common problem.
You want to write a Vuex module, as well as some Vue components that interface
with it, that you can use in several projects. You want this module to work in
Nuxt via its "module" interface. In addition you want to write using arrow
functions ()=>{}
and async / await
, but not lose backward compatibility.
You also want to sprinkle in / work with Vuetify components.
This project:
- exports two components (see
src/components
) that interface with the module- one of which includes a Vuetify component
- exports one exported vuex module (see
src/store/modules
) - uses some non exported utility functions (see
src/utils
)
The exporting takes place in src/entry.js
.
npm install
npm run serve
npm run r:build
npm run build
npm run test
npm run lint
npm run test:unit