1.0.6 • Published 3 years ago

colorofchina v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

🏠 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

👤 黑心柚子

🤝 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

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago