webapp
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
Customize configuration
Change global color
add some change in element.variables.scss then
- switch node to v11
- npm rebuild node-sass
- node_modules/.bin/et
use icon in project
- single color svg
- upload svg(s) to iconfont(https://www.iconfont.cn/manage/index?manage_type=myprojects&projectId=3053543)
- download to local
- replace files in /src/assets/iconfont
- replace the class
.iconfont
with[class^="el-ksd-icon-"], [class*=" el-ksd-icon-"]
- multi color svg
- add .svg file to /src/icons
- use svg-icon component in project