1.0.6 • Published 2 years ago

colorofchina v1.0.6

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

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago