You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install Gulp as a global NPM package, if you don't have it already on your machine:
42
48
43
49
npm install --global gulp
44
50
45
-
Install Laravel Elixir:
51
+
Install Dependencies, you have haven't done yet:
46
52
47
53
npm install
48
54
49
-
Edit your gulpfile.js adding the required tasks (check the [Laravel Elixir](http://laravel.com/docs/master/elixir) documentation for further information).
|`gulp build`|*to create a build (minification, removes map files and comments)*|
54
65
55
-
*to compile*
66
+
This will execute all the Gulp tasks on the gulpfile.babel.js.
56
67
57
-
gulp watch
68
+
### Configuration for Gulp
58
69
59
-
*to watch*
70
+
Some of the configuration can be done in `config.barebones.js` file, such as base source and public paths, along with scripts file paths for multiple bundles.
60
71
61
-
gulp --production
72
+
Of course, feel free to modify gulpfile itself.
62
73
63
-
*to minify*
74
+
### Images
64
75
65
-
This will execute all the Gulp tasks on the gulpfile.js.
76
+
Drop all your images into assets/images. When running gulp tasks, they will be automatically
77
+
optimised and output files will available in img folder in the root of the theme.
66
78
67
79
## WordPress Support
68
80
@@ -75,3 +87,23 @@ Compatible with WordPress 3.2 and above, but always use the latest version.
0 commit comments