colorofchina
v1.0.6
Published
中国色
Downloads
2
Maintainers
Readme
🏠 Homepage
使用方法
安装
npm install colorofchina
1.vue2
>> css: main.js 中添加
// 引入中国色样式
import 'colorofchina'
>> less: main.js 中添加
// 引入中国色样式
import 'colorofchina/color.less'
>> scss: main.js 中添加
// 引入中国色样式
import 'colorofchina/color.scss'
2.vue3+vite
>> css: main 中添加
// 引入中国色样式
import 'colorofchina'
>> less: vite.config.js 中添加
css:{
preprocessorOptions:{
less:{
additionalData:'@import "colorofchina/color.less";'
}
}
},
>> scss: vite.config.js 中添加
css:{
preprocessorOptions:{
scss:{
additionalData:'@import "colorofchina/color.scss";'
}
}
}
Author
👤 黑心柚子
- Github: @heixinyouzi
🤝 Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2023 黑心柚子. This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator