同步操作将从 Sendya/ant-design-pro-vue 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
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
git clone https://github.com/sendya/ant-design-pro-vue.git
cd ant-design-pro-vue
yarn install
yarn run serve
yarn run build
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]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。