404 on bin/vite dev #131
-
Hello everyone! I am new to ruby , vue and vite. I had a small project in ruby with vue that I am trying to get working in vite. I had it all working separated, but when I put it all together I can't get my vue code to serve. I created this repository to see if anyone could help me, you can find it here: https://github.com/notturingtested/notabee. if you run docker-compose up at the root of the project, the application will start, but once it is all booted, if you go to localhost:3036 you just get a 404. Could anyone help me trouble shoot my configuration? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
You might need to add
|
Beta Was this translation helpful? Give feedback.
-
@notturingtested You should not visit the Vite dev server, in Vite Ruby projects it's only used to serve assets. Visit the Rails server instead. A few things I noticed:
|
Beta Was this translation helpful? Give feedback.
@notturingtested You should not visit the Vite dev server, in Vite Ruby projects it's only used to serve assets. Visit the Rails server instead.
A few things I noticed:
~/main
from there.