grunt
grunt-contrib-connectとgrunt-connect-proxyでstubcellを設定したが POST や DELETE のリクエストが method not allowed で弾かれてしまって嵌ったのでメモ。 middlewareの設定順序が不適切 最初に正しい方法。middlewaresの先頭にproxyを挟む必要がある。 …
準備 以下をインストール grunt-init on Github grunt-init-jquery $ npm install -g grunt-init $ git clone https://github.com/gruntjs/grunt-init-jquery.git ~/.grunt-init/jquery プロジェクトの作成 grunt-init jqueryをプロジェクトディレクトリで走…