📜  react typescript scss - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:14.884000             🧑  作者: Mango

代码示例1
// Initialize React app with Typescript
//     $ npx create-react-app yourProjectName --template typescript

// Go into project folder
//  $ cd yourProjectName

// Install node-sass dependency
//  $ npm i node-sass

// You can now import .scss / .sass files into your React components 
// and use Typescript too. Happy coding!