Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
calebporzio committed Sep 9, 2020
1 parent 3f79efb commit fc0594a
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# Livewire VueJS Support Plugin
# Livewire Turbolinks Plugin

If you are using VueJS AND Livewire on the same page, this plugin is required.

Additionally, it allows you to use Vue components within your Livewire components.
If you are using Turbolinks AND Livewire on the same page, this plugin is required.

## Livewire Version Support
(Livewire version 1.x suports Turbolinks out of the box)

Livewire Version | Vue Plugin Version
--- | ---
1.x | 0.2.x
2.x | 0.3.x
2.x | 0.1.x

## Installation
### CDN
Expand All @@ -17,19 +16,6 @@ Include the CDN asset after `@livewireScripts` or `<livewire:scripts>` in your
```html
...
@livewireScripts
<script src="https://cdn.jsdelivr.net/gh/livewire/vue@v0.3.x/dist/livewire-vue.js"></script>
<script src="https://cdn.jsdelivr.net/gh/livewire/turbolinks@v0.1.x/dist/livewire-turbolinks.js"></script>
</body>
```

### NPM
Install the package from NPM.
```
npm install livewire-vue --save-dev
```

Import the package in your bundle:
```
import 'livewire-vue'
// Or.
require('livewire-vue')
```

0 comments on commit fc0594a

Please sign in to comment.