ant-design-vue-pro README

The project's README from github.com/vueComponent/ant-design-vue-pro. As one markdown file: README.md.

English | 简体中文

Ant Design Vue Pro for Vue 2

An out-of-box UI solution for enterprise applications as a Vue boilerplate. based on Ant Design of Vue
If you are looking for the Vue 3 version, please visit [Ant Design Vue Pro for Vue 3](https://store.antdv.com/items/admin-pro)

License Release Support Vue Version Travis branch

Overview

dashboard

Env and dependencies

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

Project setup

git clone https://github.com/vueComponent/ant-design-vue-pro.git
cd ant-design-vue-pro
yarn install
yarn run serve
yarn run build
yarn run lint

Other

Browsers support

Modern browsers and IE10.

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
IE10, Edge last 2 versions last 2 versions last 2 versions last 2 versions

Contributors

This project exists thanks to all the people who contribute.

ant-design-vue-pro (vueComponent/ant-design-vue-pro)

Searching Database…

这是什么?一套开箱即用的企业级应用 UI 解决方案:一个 Vue 2 脚手架项目,内置基于 Ant Design Vue 的完整后台管理面板,让你直接从一个能跑的应用开始,而不是从空项目起步。
这是成品,还是我自己应用的起点?是一个起点。你克隆仓库后在它基础上开发自己的企业应用——它是带页面、布局和构建配置的项目脚手架,不是一个通过 npm 安装的包。
怎么把它跑起来?克隆仓库,安装依赖,然后运行 yarn serve 启动支持热更新的开发服务器,或运行 yarn build 打生产包。推荐使用 Yarn,因为它的 yarn.lock 和演示站点所用的版本保持一致。
我需要先装好哪些东西?需要 Node.js 和 Yarn 包管理器(用 npm 也可以)。底层是 Vue CLI 3,搭配 webpack 和 ESLint,运行在 ant-design-vue 1.x 上。
它能在 Internet Explorer 这类老浏览器里运行吗?可以,最低支持到 IE10:除了 Edge 和 IE10,还支持 Firefox、Chrome、Safari 和 Opera 的最近两个版本——这个兼容底线符合 Vue 2 / ant-design-vue 1.x 那个年代。
这是当前版本吗,有没有 Vue 3 的版本?这个仓库是 Vue 2 版本。README 里链接了一个面向 Vue 3 的 Ant Design Vue Pro,但那个标注为预览版,所以这里的 Vue 2 版本才是稳定版本线。
除了后台布局,开箱还附带哪些东西?通过 vue-cropper 实现的图片裁剪、通过 AntV G2(@antv/g2 和 Viser-vue)实现的图表、内置的国际化(i18n)、开发用的 mock 数据,以及文档里写好的主题自定义方法。
如果 ESLint 一直卡住我的构建,能把它关掉吗?可以,不过 README 说这样做不推荐:把 package.json 里的 eslintConfig 字段删掉,并在 vue.config.js 里设置 lintOnSave: false。另外还有几个独立的 lint 脚本,其中包括一个不自动修复的变体。
mock 数据会不会被打进生产包里?不会——mock 在生产环境下是禁用的。开发时 mock 数据放在 src/mock/index.js 里。
Size
6.4 MB
Stars
10.9K
Age
8y
Commits · 90 Days