Built on top of Ant Design UI admin template with:
* improved multi-tab
* logins
* pagination async table
* simplified axois binding (skipped vuex for some cases)
20x built-in customized dashboard components:
List, Charts, CountDown, Editor, Menu, Step Form, Tree, Table, Setting Drawer, Auto complete, Card etc.
UI from: Ant Design of Vue
Basic template docs:
- Preview: https://preview.pro.loacg.com
- Home Page: https://pro.loacg.com
- Online Documentation: https://pro.loacg.com/docs/getting-started
- Local Documentation: https://github.com/sendya/antd-pro-vue-site
- ChangeLog: https://pro.loacg.com/docs/changelog
- FAQ: https://pro.loacg.com/docs/faq
- Branches:
- demo/router-view-table: CRUD view in router
- feature/demand_load: loaded on demand
- feature/lang: i18n support
- feature/dynamic-menu: dynamic menu demo
- lite: lite template (legacy)
- node
- yarn
- webpack
- @vue/cli ~3
- ant-design-vue - Ant Design Of Vue
- vue-cropper - Picture edit
- @antv/g2 - AntV G2
- Viser-vue - Antv/G2 of Vue
- Vue.ls - plugin for local storage
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.
-
Load on Demand: modify
/src/main.js
L14, replace toimport './core/lazy_use'
code. -
Customize Theme: Custom Theme Config
Modern browsers and IE10.
IE / Edge |
Firefox |
Chrome |
Safari |
Opera |
---|---|---|---|---|
IE10, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
(example)[kazupon/vue-i18n#108]
(codepen)[https://jsfiddle.net/2av8r31w/3/]
- The project is not following vue-cli project template. Type inference failed with webstorm *.js
Should update the project for IDE support:
-
Websocket
sockjs is used by webpack-dev-server
Symptom:
Timeout on websocket, check socketio.js in console... result is blank screen.
GET http://10.0.75.1:8000/sockjs-node/info?t=1562569252925 net::ERR_CONNECTION_REFUSED
Other use in same domain local interact can't visit dev server via 192.xx or SYD.LTD.PC1 since this server hard-code localhost, no route back.
vue ui
- library path inference for Webpack
Mouse click import string redirect to true file path, rather than yellow warning line.
-
[Nice]https://medium.com/js-dojo/how-to-configure-webpack-4-with-vuejs-a-complete-guide-209e943c4772
-
More
https://webpack.js.org/concepts/hot-module-replacement/
d2-admin
https://www.typescriptlang.org/docs/handbook/compiler-options.html
-
Full scale extends is verbose "extends": [ "airbnb-base", // "plugin:vue/recommended" "plugin:vue/strongly-recommended" // "@vue/standard" ],
-
[Quick guide]https://medium.com/@agm1984/how-to-set-up-es-lint-for-airbnb-vue-js-and-vs-code-a5ef5ac671e8
-
for vscode, open console eslint error logs for .json file syntax..
-
Vscode plugin: https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint
util/request.js
- base_url and axios service, timeout