Could not resolve entry module "resources/js/app.js" #2765
Unanswered
AnthoniG
asked this question in
Help (Vue)
Replies: 1 comment
-
|
This appears to be a Vite/Laravel configuration issue rather than an Inertia bug, so I'm converting this to a discussion. I'd recommend checking out our official Vue Starter Kit. |
Beta Was this translation helpful? Give feedback.
0 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.
-
@inertiajs/vue3 Version
2.3.1
Backend stack (optional)
Laravel 12.42.0
Describe the problem
Having read Advanced Inertia by Boris Lepikhin I am attempting to structure my Base project like his (then I use Base as a template). However I am constantly getting
Could not resolve entry module "resources/js/app.js"I have searched through my entire application and there is nothing that specifies app.js anywhere!
Here is my repo that is giving me problems. Base Application
I thought once I added the paths to both tsconfig.ts AND vite.config.ts that it would pick up the correct path for the initial script, but it does not seem to be doing so.
How do I get this working ?
Steps to reproduce
Clone https://github.com/ag-ap/base
Composer install and NPM Install
then try and run npm run build
Beta Was this translation helpful? Give feedback.
All reactions