Setting up Inertia.js with Vue 3 and Typescript #942
Unanswered
isaac-souza
asked this question in
Help (Vue)
Replies: 1 comment 2 replies
-
For some reason I freaking removed the defer from the app.js script and it was breaking things up, it is always something silly |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys, I'm trying to setup a new Laravel 8 project that uses Inertia.js + Vue.js 3 + Typescript (and TailwindCSS, but didn't setup yet tho)
When I run "sail npm run watch" it compiles without any errors, but when I hit the browser, I get the following in the console
It must be something silly as always
I'm following this tutorial https://laravel-news.com/typescript-laravel and inertiajs docs https://inertiajs.com/client-side-setup
I appreciate any help.
Here are some of the project files
----------------------------------------- package.json
----------------------------------------- resources/js/app.ts
----------------------------------------- webpack.mix.js
-----------------------------------------tsconfig.json
----------------------------------------- resources/views/app.blade.php
----------------------------------------- routes/web.php
----------------------------------------- resources/js/Pages/Index.vue
----------------------------------------- Browser view-source
Printscreen of the error's location according to the browser console
Beta Was this translation helpful? Give feedback.
All reactions