|
6 years ago | |
---|---|---|
.github | 6 years ago | |
docs | 6 years ago | |
public | 6 years ago | |
src | 6 years ago | |
tests | 6 years ago | |
.editorconfig | 6 years ago | |
.env | 6 years ago | |
.gitattributes | 6 years ago | |
.gitignore | 6 years ago | |
.prettierrc | 6 years ago | |
.travis.yml | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
README.zh-CN.md | 6 years ago | |
babel.config.js | 6 years ago | |
jest.config.js | 6 years ago | |
jsconfig.json | 6 years ago | |
package-lock.json | 6 years ago | |
package.json | 6 years ago | |
vue.config.js | 6 years ago | |
webstorm.config.js | 6 years ago | |
yarn.lock | 6 years ago |
English | 简体中文
Note: Yarn package management is recommended, the exact same version loaded with the demo site of this project (yarn.lock) . but you can also use npm
Clone repo
git clone https://github.com/sendya/ant-design-pro-vue.git
cd ant-design-pro-vue
Install dependencies
yarn install
Compiles and hot-reloads for development
yarn run serve
Compiles and minifies for production
yarn run build
Lints and fixes files
yarn run lint
IMPORTANT : About Issue feedback !! when opening Issue read Issue / PR Contributing
Vue-cli3 used by the project.
Disable Eslint (not recommended): remove eslintConfig
field in package.json
and vue.config.js
field lintOnSave: false
Load on Demand: modify /src/main.js
L7, append import './core/lazy_use'
code.
Customize Theme: vue.config.js
eg:
css: {
loaderOptions: {
less: {
modifyVars: {
/* Less variables, required modifyVars*/
'primary-color': '#F5222D',
'link-color': '#F5222D',
'border-radius-base': '4px',
},
javascriptEnabled: true,
}
}
}
polyfill
remove polyfill:
import '@babel/polyfill'
field in src/main.js
babel.conflg.js
remove
[
'@babel/preset-env',
{
'useBuiltIns': 'entry'
}
]
This project exists thanks to all the people who contribute.
Thank you to all our backers! 🙏 [Become a backer]
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]