Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit 26de81a

Browse files
committed
add readme
1 parent a430845 commit 26de81a

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# laravel-elixir-vue-2
2+
3+
> Laravel Elixir 6 support for Vue 2.0
4+
5+
This package provides Webpack support for compiling Vue 2.0 `.vue` files in your Laravel Elixir 6 projects. Please note that, if using Laravel Elixir 5 or below, you don't want this package.
6+
7+
Usage is identical to [laravel-elixir-vue](https://github.com/JeffreyWay/laravel-elixir-vue):
8+
9+
## Step 1: Install
10+
11+
```
12+
npm install laravel-elixir-vue-2 --save-dev
13+
```
14+
15+
## Step 2: Gulpfile.js
16+
17+
```
18+
var elixir = require('laravel-elixir');
19+
20+
require('laravel-elixir-vue-2');
21+
22+
elixir(function(mix) {
23+
mix.webpack('main.js'); // resources/assets/js/main.js
24+
});
25+
```

0 commit comments

Comments
 (0)