iamine/blader
Composer 安装命令:
composer require iamine/blader
包简介
HTML Generator using Laravel Blade templating engine
README 文档
README
HTML Generator using Laravel Blade templating engine
Requirements
- PHP > 7.3
- Node + NPM
Installation
first install a fresh project of blader
composer create-project iamine/blader blader
after you creating your project with composer cd inside project and run:
npm install
Folders Structure
source/
_assets/
_components/
_layouts/
index.blade.php
Any folder or file start with ( _ ) will be ignored during the compiling proccess.
[ _assets ] for static assets like js, sass, css.... this folder will be compiled to assets in source directory and then will be copied to the compiled directory.
[ _components ] where blade components live.
Available Commands
PHP Commands
php blader build
this will generate a compiled version of your project
NPM Commands
npm run dev
npm run watch
npm run prod
npm prod will generate a beautified version of HTML files.
LICENSE
The MIT License (MIT).
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-01-12