Legendary

李洋的学习笔记


react脚手架

<h2>create-react-app</h2> <pre><code>1、 全局安装脚手架: npm install create-react-app -g 2、 搭建项目: create-react-app demo 3、 启动项目: npm start 4、 暴露配置文件(不可逆) npm eject 5、 scss依赖 npm install sass-loader node-sass --s-d npm install node-sass 6、 ant-design npm install antd --s 7、 按需加载依赖 npm install babel-plugin-import --s </code></pre>

页面列表

ITEM_HTML