Need help configuring vite with a rails application that lives in a nested path. #554
|
So I have my application that lives in a I am using sprockets and vite together and this is my application.rb and my vite.json and vite.config.mts are as follows With the above config, when doing What am I doing wrong here? I cannot have the asset under public/vite as the application itself lives in a nested path. |
Answered by
ravi-bhusal-mg
Jun 2, 2025
Replies: 1 comment
|
So the following config works for vite. vite.json vite.config |
0 replies
Answer selected by
ravi-bhusal-mg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So the following config works for vite.
vite.json
vite.config