This repository was archived by the owner on Jan 22, 2024. It is now read-only.
Commit fc0594a 1 parent 3f79efb commit fc0594a Copy full SHA for fc0594a
File tree 1 file changed +6
-20
lines changed
1 file changed +6
-20
lines changed Original file line number Diff line number Diff line change 1
- # Livewire VueJS Support Plugin
1
+ # Livewire Turbolinks Plugin
2
2
3
- If you are using VueJS AND Livewire on the same page, this plugin is required.
4
-
5
- Additionally, it allows you to use Vue components within your Livewire components.
3
+ If you are using Turbolinks AND Livewire on the same page, this plugin is required.
6
4
7
5
## Livewire Version Support
6
+ (Livewire version 1.x suports Turbolinks out of the box)
7
+
8
8
Livewire Version | Vue Plugin Version
9
9
--- | ---
10
- 1.x | 0.2.x
11
- 2.x | 0.3.x
10
+ 2.x | 0.1.x
12
11
13
12
## Installation
14
13
### CDN
@@ -17,19 +16,6 @@ Include the CDN asset after `@livewireScripts` or `<livewire:scripts>` in your
17
16
``` html
18
17
...
19
18
@livewireScripts
20
- <script src =" https://cdn.jsdelivr.net/gh/livewire/vue @v0.3 .x/dist/livewire-vue .js" ></script >
19
+ <script src =" https://cdn.jsdelivr.net/gh/livewire/turbolinks @v0.1 .x/dist/livewire-turbolinks .js" ></script >
21
20
</body >
22
21
```
23
-
24
- ### NPM
25
- Install the package from NPM.
26
- ```
27
- npm install livewire-vue --save-dev
28
- ```
29
-
30
- Import the package in your bundle:
31
- ```
32
- import 'livewire-vue'
33
- // Or.
34
- require('livewire-vue')
35
- ```
You can’t perform that action at this time.
0 commit comments