leon0399 / materialize-laravel-frontend-preset
此包已被废弃,不再维护。未建议替代包。
Materialize 的 Laravel 前端预设
1.0.1
2018-11-27 14:13 UTC
Requires
- laravel/framework: ^5.5
This package is auto-updated.
Last update: 2024-07-28 09:04:37 UTC
README
使用
- 全新安装 Laravel >= 5.7.0 并切换到您的应用目录。
- 通过
composer require leon0399/materialize-laravel-frontend-preset
安装此预设。Laravel 将自动发现此包。无需注册服务提供者。 - 使用
php artisan preset materialize
安装基本 Materialize 预设。(注意:如果您多次运行此命令,请确保清理routes/web.php
中的重复 Auth 条目) yarn && yarn dev
- 配置您喜欢的数据库(mysql、sqlite 等)
php artisan migrate
创建基本用户表。php artisan serve
(或等效命令)运行服务器并测试预设。
许可证
MIT License
Copyright (c) 2018 Leonid Meleshin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.