react使用
来源:互联网 发布:c语言if语句多个条件 编辑:程序博客网 时间:2024/06/03 16:50
//安装淘宝镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org
//安装 dva-cli
cnpm install dva-cli -g
//创建项目test
dva new test
//
cnpm install -g roadhog
//安装蚂蚁金服UI组件
cnpm install antd --save
//按需引入插件放在package.json
"babel-plugin-import": "^1.1.1",
//roadhogrc里面引入antd样式
["import", { "libraryName": "antd", "style": "css" }]
//新建routes 下notice
dva g route notice
//新建components 下test
dva g component test
npm install -g cnpm --registry=https://registry.npm.taobao.org
//安装 dva-cli
cnpm install dva-cli -g
//创建项目test
dva new test
//
cnpm install -g roadhog
//安装蚂蚁金服UI组件
cnpm install antd --save
//按需引入插件放在package.json
"babel-plugin-import": "^1.1.1",
//roadhogrc里面引入antd样式
["import", { "libraryName": "antd", "style": "css" }]
//新建routes 下notice
dva g route notice
//新建components 下test
dva g component test
阅读全文
1 0
- React使用
- react使用
- react使用
- React使用
- react-native安装使用
- react-native使用flux
- React学习--使用babel
- 为什么使用React
- 为什么使用React
- react-router 使用
- 开始使用React Native
- React-redux使用
- React Router 使用教程
- React入门使用心得
- react-redux使用实例
- React Router 使用教程
- React Router 使用教程
- React refs的使用
- Ambari 的安装(Hortonworks 安装法)
- 消息队列所用到的函数 msgget() msgsnd() msgrcv() msgctl()
- 人脸检测--Recurrent Scale Approximation for Object Detection in CNN
- ABAP学习笔记二(参数传递)
- WindowManager几个属性WindowManager.LayoutParams.TYPE_SYSTEM_ERROR TYPE_SYSTEM_OVERLAY TYPE_SYSTEM_ALERT
- react使用
- left join 比之 子查询
- Android官方DataBinding(七):BindingMethods与BindingMethod
- 程序员的第一份工作
- cocos2dx屏幕截图
- React-native 环境配置window端mac端
- opencv中的开运算,闭运算,形态学梯度,顶帽和黑帽
- USACO 2017 US Open Contest, Platinum Problem 3. COWBASIC
- Struts基本执行流程