calderawp/baldrick-wp-front-end

由BaldrickJS驱动的前端WordPress工具

dev-master 2015-04-01 21:38 UTC

This package is auto-updated.

Last update: 2024-09-08 07:00:35 UTC


README

用于在WordPress前端使用BaldrickJS AJAX系统的工具。

安装

  • 将此添加到您的composer依赖项中,并执行composer update
  • npm install
  • grunt update

gruntgrunt update

默认的grunt任务,使用grunt运行将连接并压缩JS和CSS。使用grunt update任务将从Github克隆BaldrickJS仓库,然后创建连接和压缩JS和CSS。如果在初始安装时未运行grunt update,JS和CSS文件中将缺少必要的代码部分,什么都不会工作,您会感到沮丧。

使用方法

@todo

版权

版权所有2015 Josh Pollock。许可:GNU GPL版本2或更高版本

Baldrick JS 版权所有David Cramer。许可:MIT