opsone/wordpress-theme-kit
Composer 安装命令:
composer create-project opsone/wordpress-theme-kit
包简介
Create empty wordpress theme with minimal developper kit
README 文档
README
Create empty wordpress theme with minimal developper kit
Installation
Install composer in your project:
$ curl -s https://getcomposer.org/installer | php
Simply install with composer:
$ php composer.phar create-project opsone/wordpress-theme-kit path/to/install/
webpack encore
Launch build files, Mode Development
$ npm run dev
Launch watcher files, Mode Development
$ npm run watch
Launch watcher files and reload browser, Mode Development
$ npm run dev-server
Make for Production
$ npm run build
Optimize image
$ npm run imageOptim
Launch prettier
$ npm run prettify
Assets
Use assets file in templates wordpress
$ echo asset_url('logo.png'); $ // dev => http://localhost:3000/d8de0a51d2c1ffadf2674553ff70fad2.png $ // prod => http://localhost/assets/build/d8de0a51d2c1ffadf2674553ff70fad2.png
统计信息
- 总下载量: 199
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-19