folivaresrios/preset-tailwindcss
Composer 安装命令:
composer require folivaresrios/preset-tailwindcss
包简介
Laravel 5.5 frontend preset for Tailwind CSS
README 文档
README
Fork from laravel-frontend-presets/tailwindcss with my own configuration
Laravel ^5.5 Frontend preset for Tailwind CSS
A Laravel front-end scaffolding preset for Tailwind CSS - a Utility-First CSS Framework for Rapid UI Development.
Current version: Tailwind CSS 0.4.0
Usage
- Fresh install Laravel 5.5.x and cd to your app.
- Install this preset via
composer require folivaresrios/preset-tailwindcss. Laravel ^5.5 will automatically discover this package. No need to register the service provider. - Use
php artisan preset tailwindcssfor the basic Tailwind CSS preset OR usephp artisan preset tailwindcss-authfor the basic preset, auth route entry and Tailwind CSS auth views in one go. (NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries inroutes/web.php) npm installnpm run dev- Configure your favorite database (mysql, sqlite etc.)
php artisan migrateto create basic user tables.php artisan serve(or equivalent) to run server and test preset.
Changing colours
If you want to change the default orange colour being used, update the brand-{modifier} values in your tailwind.js file. You are of course free to modify this file as you see fit, and even remove and replace the brand configuration in the scaffolded views entirely.
Screenshots
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-05





