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. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
So the following config works for vite. vite.json vite.config |
Beta Was this translation helpful? Give feedback.
So the following config works for vite.
vite.json
vite.config