AngularJS tutorial:This post will serve as a short and sweet tutorial on how to utilize ES6 features with AngularJS via JSPM, Babel and Gulp.index.html: entry point of the website package.json: node module config file, you could create one by running command “npm init“ config.js: jspm configuration file, you could create one by running command “jspm init“ gulpfile.js: gulp configuration file, crea
この記事はAngularJS Advent Calendar 2014の11日目の記事です。 私がAngularJSでアプリ開発した時にすごく便利だったgulpタスクの組み合わせを紹介しようと思います! gulp-concat gulp-tap gulp-ng-annotate gulp-concat AngularJSアプリは1モジュール1ファイルにする場合も多いかと思いますが、そうなるとどんどんファイル数が増えて読み込みがとにかく大変です。 ディレクティブが展開されない!と思ったらそのディレクティブを定義したjsファイル読み込み忘れてたとかね・・・ なのでjsファイルはgulpタスクでひとつにまとめてからそれだけ読み込むと、ファイルが増えてもHTMLでの読み込みを増やさなくていいのでスムーズです! ファイルをひとつにまとめてくれるのがgulp-concatです! var concat
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く