myshop-base-components

3.17.8 • Public • Published

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 sass-loader@6.0.6 node-sass@4.7.2 style-loader@0.19.0 --save-dev

## Loading a global settings file
npm install sass-resources-loader@1.3.1 --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 vee-validate@2.0.3 --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

Readme

Keywords

Package Sidebar

Install

npm i myshop-base-components

Weekly Downloads

15

Version

3.17.8

License

none

Unpacked Size

224 kB

Total Files

69

Last publish

Collaborators

  • myshop