【文件属性】:
文件名称:gulp-sample:开始使用 gulp for php
文件大小:274KB
文件格式:ZIP
更新时间:2021-06-28 21:19:07
PHP
吞咽样品
开始使用 gulp for php
安装
你需要 node.js。请从官方下载或使用OS包等。
新产品经理
node.js 包管理器全局安装 gulp 和 bower,请匹配您的环境等。
$ npm install -g gulp
$ npm install -g bower
# 本サンプルで利用するライブラリ全てをプロジェクト配下にインストール
$ npm install
node.js 库目录在 node_modules 下bower 被放置在 vendor / bower_components 中,就像 composer 使用.bowerrc 。
作曲家
$ composer install
吞咽任务
■ 内置服务器
$ gulp boot
■ 默认包括 bower 安装、文件部署、编译、phpunit 等。
$ gulp
【文件预览】:
gulp-sample-master
----composer.json(841B)
----phpunit.xml(791B)
----config()
--------dependencies.php(252B)
--------routes.php(95B)
----composer.lock(67KB)
----package.json(925B)
----gulpfile.js(4KB)
----.bowerrc(47B)
----tests()
--------TestSupport.php(66B)
--------ActionIndexTest.php(551B)
--------autoload.php(49B)
--------.gitkeep(0B)
----resources()
--------views()
--------react()
----src()
--------WebViews()
--------Repositories()
--------Foundation()
--------Actions()
----tmp()
--------cache()
----.gitignore(31B)
----public()
--------css()
--------index.php(997B)
--------assets()
--------js()
----README.md(2KB)
----bower.json(594B)