03 2018 档案

摘要:import React from 'react'; import {Form, InputNumber, Input, DatePicker, Button, Select, Icon} from 'antd'; import moment from 'moment'; // 推荐在入口文件全局设置 locale import 'moment/locale/zh-cn'; moment.loc... 阅读全文
posted @ 2018-03-27 11:11 Nyan 阅读(2181) 评论(0) 推荐(0) 编辑
摘要:npm install antd-iconfont --save npm install less less-loader --save-dev webpack.config.js 1、 2、 import "~antd-iconfont/iconfont.less"; import "antd-t 阅读全文
posted @ 2018-03-21 20:32 Nyan 阅读(241) 评论(0) 推荐(0) 编辑
摘要:https://ant.design/components/form-cn/ 解决方法: 阅读全文
posted @ 2018-03-20 15:19 Nyan 阅读(8457) 评论(0) 推荐(0) 编辑
摘要:1.install npm install bootstrap-loader jquery resolve-url-loader 2.webpack.config.js entry: ['bootstrap-loader', './src/app.js'] new webpack.ProvidePl 阅读全文
posted @ 2018-03-20 10:02 Nyan 阅读(643) 评论(0) 推荐(0) 编辑
摘要:class Layout extends React.Component { constructor(props) { super(props); } render() { return ( {this.props.children} ); ... 阅读全文
posted @ 2018-03-13 15:40 Nyan 阅读(259) 评论(0) 推荐(0) 编辑
摘要:const path = require('path'); const webpack = require('webpack'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const ExtractTextPlugin = require("extract-text-webpack-plugin"); module.e... 阅读全文
posted @ 2018-03-13 15:37 Nyan 阅读(158) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示