composer create-project laravel/laravel Workspace "10.*" composer require laravel/breeze --dev PS P:\Workspace> php artisan breeze:install
Which Breeze stack would you like to install?
Blade with Alpine .......................................................................................................................... blade
Livewire (Volt Class API) with Alpine ................................................................................................... livewire
Livewire (Volt Functional API) with Alpine ................................................................................... livewire-functional
React with Inertia ......................................................................................................................... react
Vue with Inertia ............................................................................................................................. vue
API only ..................................................................................................................................... api
❯ vue
Would you like any optional features? [None] None ............................................................................................................................................. Dark mode ................................................................................................................................... dark Inertia SSR .................................................................................................................................. ssr TypeScript (experimental) ............................................................................................................. typescript ❯ dark
Which testing framework do you prefer? [PHPUnit] PHPUnit ........................................................................................................................................ 0 Pest ........................................................................................................................................... 1 ❯ 0
open url:http://localhost/ blank and error: localhost/:1 Uncaught TypeError: Failed to resolve module specifier "vue". Relative references must start with either "/", "./", or "../".
why?
Fix first then rant afterwards
it has todo with your node version being old. I ran from command line as sudo (may differ from your setup)
`npm install -g n
n lts
n latest`
first time laravel user and spent 3 days with this (worst is im a noob to Laravel and trying to learn laraval and finding the documentation very miss more than hit and miss)
Instead of coding , ive spent more time wading through vague documentation with no real world examples and then finding anything remotely willing to explain things but being told to pay $19 to see videos very off putting.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community