react安装 scss

1、安装react

npx create-react-app 项目名称
cd 项目名称
npm start   // 启动项目

注意

第一行的 npx 不是拼写错误 —— 它是 npm 5.2+ 附带的 package 运行工具

npm install -g create-react-app
create-react-app 项目名称
cd 项目名称
npm start

2、安装scss

npm i node-sass@4.14.1 sass-loader
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐