Skip to content

Commit 909deb1

Browse files
authored
Vue 3 in Laravel 10
1 parent c3acf2c commit 909deb1

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Minimal Vue 3 application with router, i18n, pinia store.
55
## Install package
66

77
```sh
8-
composer create-project laravel/laravel vue-app
8+
composer create-project laravel/laravel:^10.0 vue-app
99
cd vue-app
1010
composer require atomjoy/vue
1111
```
@@ -24,9 +24,11 @@ npm run build
2424
php artisan serve --host=localhost --port=8000
2525
```
2626

27-
## (DEV) Local import
27+
## (DEV) Local repository import
2828

29-
packages/atomjoy/vue
29+
Package directory: packages/atomjoy/vue
30+
31+
### Laravel composer.json
3032

3133
```json
3234
{
@@ -39,3 +41,14 @@ packages/atomjoy/vue
3941
},
4042
}
4143
```
44+
45+
### Vue3 npm packages
46+
47+
```sh
48+
npm install vue@next
49+
npm install vue-router@4
50+
npm install vue-i18n@9
51+
npm install --save-dev @vitejs/plugin-vue
52+
npm install pinia
53+
npm install @googlemaps/js-api-loader
54+
```

0 commit comments

Comments
 (0)