项目案例用 react 作为演示,实际使用中不依赖任何框架,开箱即用
使用步骤
1. 安装依赖包
npm i @nicecode/css --save
// or yarn add @nicecode/css
2. 在项目中引用
本文以引用 common 模块为例
import '@nicecode/css'
// something...
项目参考
- bootstrap
- tailwindcss
- cssnext