Gulp is the new kid on the block when it comes to JavaScript task runners. It’s gotten off the ground running extremely quickly with its emphasis on code over configuration when compared with Grunt. While still a very young product, I’ve switched my development away from Grunt and am now using gulp for all of my new coding. Keep reading to find out how to use gulp with your WordPress themes to spe
頑なにWordPressテーマのビルドをrubyの自動化ツールであるGuardを使ってやってきたのですが、フロントエンドに関しては、今どきはnodeを使ったほうがバージョンアップも盛んですし情報も充実しています。 というわけでnodeの今どきのビルドツールであるGulpを使ってビルドするようにしてみました。 テーマのディレクトリ構成 [theme] ├─assets # 画像などの素材一式 | ├── fonts # フォント | ├── images # 画像 | ├── javascripts # JavaScript | └── stylesheets # sassファイル └─partials # 部分的に使用するテンプレート Gulpの設定 Gulpのインストール npm install -g gulpでGulpコマンドが使えるようにしておきます。 必要なモジュールのインストール
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く