|
il y a 6 ans | |
---|---|---|
.github | il y a 6 ans | |
docs | il y a 6 ans | |
public | il y a 6 ans | |
src | il y a 6 ans | |
tests | il y a 6 ans | |
.editorconfig | il y a 6 ans | |
.env | il y a 6 ans | |
.gitattributes | il y a 6 ans | |
.gitignore | il y a 6 ans | |
.prettierrc | il y a 6 ans | |
.travis.yml | il y a 6 ans | |
LICENSE | il y a 6 ans | |
README.md | il y a 6 ans | |
README.zh-CN.md | il y a 6 ans | |
babel.config.js | il y a 6 ans | |
jest.config.js | il y a 6 ans | |
jsconfig.json | il y a 6 ans | |
package.json | il y a 6 ans | |
vue.config.js | il y a 6 ans | |
webstorm.config.js | il y a 6 ans | |
yarn.lock | il y a 6 ans |
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 !! Please describe your environment, the Pro version or branch used, what happened, etc. when opening Issue
Vue-cli3 used by the project.
Disable Eslint (not recommended): remove eslintConfig
field in package.json
Easy-Mock used by project,easy-mock Project API Data DO NOT CHANGE THE INTERFACE,If you want to modify, please fork ANTD-PRO-Easy-Mock-API.zip and running to your server.
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]