Immediately power your new project by Laravel Elixir.
- You need to have
npm
installed.
1. Clone the repo and change directory:
$ git clone https://github.com/zOxta/elixirify.git && cd elixirify
2. Pull the latest Laravel Elixir dependency:
$ curl -O https://raw.githubusercontent.com/laravel/laravel/master/package.json
3. Install node modules:
$ npm install
4. (optional) Install the packages required by app.js
:
$ npm install vue vue-resource lodash isjs moment
Note: if you are not going to use the starter app in app.js
then you can skip step 4, then clear app.js
. Otherwise, you will get errors when running gulp.
5. If you do not have gulp
globally installed, you can install it by:
$ npm install --global gulp
6. Finally, run gulp or gulp watch:
$ gulp
or
$ gulp watch
- Add HTML starter demo that uses the Vue app