0
私のアプリケーションにhttps://github.com/puikinsh/gentelellaをインストールしました。資産をlaravel elixirにリンクする方法はありますか?ここlaravel 5 node_modules内のテンプレートを使ってエリキシルをコンパイルする方法
は私のテンプレートディレクトリです
Root
|-app/
|-node_module/
| |-gentelella/ # -> this is my template
|-gulpfile.js
|-public/
// other laravel folders to follow.
インサイド./gulpfile.js
var elixir = require('laravel-elixir');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, fluent API for defining some basic Gulp tasks
| for your Laravel application. By default, we are compiling the Sass
| file for our application, as well as publishing vendor resources.
|
*/
elixir(function(mix) {
mix.sass('app.scss');
});
あなたが現在* gulpfile.jsに何を持っていますか? – TheFallen
はい私はルートフォルダの中にいて、gentelellaフォルダ内にgulpfile.jsもあります。 – loki9
私はコードとして、あなたの投稿を編集し、* gulpfile.js *からJSを追加することを意味します。 – TheFallen