Skip to content

Commit 063f87f

Browse files
authored
Vue 3 in Laravel 11
How To Install Vue 3 in Laravel with Vite (router, i18n ranslation, pinia store).
1 parent 9cce916 commit 063f87f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
# Vue 3 in Laravel
1+
# Vue 3 in Laravel 11
22

3-
How To Install Vue 3 in Laravel 10 with Vite.
3+
How To Install Vue 3 in Laravel with Vite (router, i18n ranslation, pinia store).
44

55
## Create project
66

77
```sh
8-
composer create-project --prefer-dist laravel/laravel:^10.0 laravel-vue
8+
composer create-project --prefer-dist laravel/laravel:^11.0 laravel-vue
99
cd laravel-vue
1010
```
1111

1212
## Install
1313

14+
Minimal SPA application. Full example with router, i18n translation and pinia store in **vue** directory.
15+
1416
```sh
1517
npm install
1618
npm install vue@latest
@@ -134,7 +136,7 @@ npm install vue-router@4
134136
npm install @googlemaps/js-api-loader
135137
```
136138

137-
## Override ** /build ** dir in page url
139+
## Override /build dir in page url
138140

139141
```js
140142
// Add this in vue router/index.js

0 commit comments

Comments
 (0)