revosystems/mojito
最新稳定版本:11.0.2
Composer 安装命令:
composer require revosystems/mojito
包简介
Stock management system
README 文档
README
Basic usage
Tailwind CSS
To set up the Mojito Package in your project, you need to add the specified Tailwind CSS colors to the safelist in your tailwind.config.js file.
Here's how you can add the safelist in your tailwind.config.js file:
// All the colors are used for the PurchaseOrderStatus enum. safelist: [ 'text-blue-800', 'bg-blue-400/20', 'text-yellow-800', 'bg-yellow-400/20', 'text-green-800', 'bg-green-400/20', 'text-zinc-800', 'bg-zinc-400/20' ],
By adding these colors to the safelist, you are instructing Tailwind CSS to keep the classes that use these colors in the final CSS output. This ensures that the Mojito Package's colors are available for use in your project.
Additionally, make sure to compile the assets (npm run prod) for the changes to take effect.
统计信息
- 总下载量: 21.77k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2021-05-18