Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jeffreyway/laravel-elixir-vueify

This is a very thin wrapper for Laravel Elixir and the Browserify Vueify plugin.
https://github.com/jeffreyway/laravel-elixir-vueify

Last synced: 4 days ago
JSON representation

This is a very thin wrapper for Laravel Elixir and the Browserify Vueify plugin.

Awesome Lists containing this project

README

        

# Usage

## Step 1: Install

If you're using Laravel Elixir 5 or below:

```
npm install [email protected]
```

Otherwise, for Laravel Elixir 6 installs and up:

```
npm install laravel-elixir-vueify
```

## Step 2: Require

Within your main `Gulpfile`, add:

```js
var elixir = require('laravel-elixir');

require('laravel-elixir-vueify');

elixir(function(mix) {
mix.browserify('main.js');
});
```

Notice above, where we require `laravel-elixir-vueify`. That's all you need. Behind the scenes, all of the necessary dependencies have been installed, and Vueify has been inserted into Laravel Elixir's Browserify transformers list.

## Step 3. Build Amazing Things

You're done. :)

> Having trouble? [Here's a starter example site that uses Laravel Elixir, Browserify, and Vueify](https://github.com/laracasts/Laravel-Elixir-Vueify-Setup).