如何快速上手一个前端框架,那就是下个开源后台软件写个curd,先作再想更容易上手前端
$ git clone https://github.com/iczer/vue-antd-admin.gitvue
我这没装yarn,因此先下载。先用了node
brew install yarn #报错,就用另外一个node的编译工具来下 npm install yarn -g
安装依赖:git
$ yarn installgithub
启动shell
$ yarn startnpm
以开发者身份运行json
$yarn run serve
前端框架
输入网址就出来了。 antd
#json配置 { "name": "my-new-project", "version": "1.0.0", "description": "My New Project description.", "main": "index.js", "repository": { "url": "https://example.com/your-username/my-new-project", "type": "git" }, "author": "Your Name <you@example.com>", "license": "MIT" }
#初始化项目 yarn init #安装项目的所有依赖 yarn install
关于ant-design-vue的组建和ui的使用方式能够看官网 https://vuecomponent.github.io/ant-design-vue/docs/vue/getting-started-cn/
怎样使用antDpro快速curd