myshop-base-components
v3.17.8
Published
Vuejs base components
Downloads
49
Readme
backoffice
Backoffice Configurator
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
## Install sass for vuejs 2
npm install [email protected] [email protected] [email protected] --save-dev
## Loading a global settings file
npm install [email protected] --save-dev
- modify build/utils.js for sass: to
sass: generateLoaders('sass').concat(
{
loader: 'sass-resources-loader',
options: {
// Provide path to the file with resources
resources: './src/style/resources.scss',
},
}
),
Note: Copy resources.scss
file from plugin folder to your project and change values as you required.
## Install validation plugin
npm install [email protected] --save
## Install store state management plugin
npm install vuex
Note: Update the store.js file's content to your project as per your requirement.
## Install pagination
npm install myshop-vue-paginate