Simple Vue Webshop
This template is based on the great setup cristijora did for his dashboard project (which you can see here vue-paper-dashboard)
npm install
npm run dev
npm run build
npm run unit
npm run unit:watch
npm install
oryarn install
- If you use 3rd party libraries/components in more than 1 place make sure to define them globally for ease of use
Example
Object.defineProperty(Vue.prototype, '$Chartist', { get() { return Chartist; } });
- Please don't use jQuery or jQuery based plugins since there are many pure Vue alternatives
- Write unit tests for your custom components
For detailed explanation on how things work, checkout the guide and docs for vue-loader.