Minimal Vue 3 application with router, i18n, pinia store.
composer create-project laravel/laravel:^10.0 vue-app
cd vue-app
composer require atomjoy/vue
Backup first routes and resources directory!
php artisan vendor:publish --tag=vue-config --force
npm install
npm run build
php artisan serve --host=localhost --port=8000
The package is no longer needed.
composer remove atomjoy/vue
Package directory: packages/atomjoy/vue
{
"repositories": [{
"type": "path",
"url": "packages/atomjoy/vue"
}],
"require": {
"atomjoy/vue": "dev-main"
},
}
npm install vue@next
npm install vue-router@4
npm install vue-i18n@9
npm install --save-dev @vitejs/plugin-vue
npm install pinia
npm install @googlemaps/js-api-loader