1.2.4 • Published 5 years ago

vue-cli-plugin-klkspa v1.2.4

Weekly downloads
137
License
ISC
Repository
github
Last release
5 years ago

vue-cli-plugin-klkspa

Vue CLI 3 scalfold plugin for klook typescript spa

Feature

  • axios wrapper
  • auto online deployment
  • i18n integrated
  • svg sprite
  • basic utils and css
  • ts store prototype

How to Use

You need Vue CLI 3 installed globally as a pre-requisite. If you don't have it, please run

npm install -g @vue/cli

use vue-cli3 choose feature : babel ,typescript , router, vuex, css-Preprocessor( sass ):

vue create ${project_git_name}
vue add klkspa

Deployment

add project git name so it can auto-generate deploy.sh for your online deployment,use

sh deploy.sh

to deploy project ,make sure to have '/srv/builds' directory prepared

other explanation:

  1. theme color change modify @/assets/scss/variable.scss
  2. add node to tsconfig.json types:
"types": [
    "webpack-env",
    "node"
],
1.2.4

5 years ago

1.2.3

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago