1.0.6 • Published 1 year ago

colorofchina v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago