You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I'm trying to encapsulate some common webstyle patterns within an engine and share them with root app/ other engines.
Folder Structure would be:
I've followed the engines recomendations mentioned in other discussions adding config/vite.rb to the root app.
What would be the way to access logo using vite_asset_path for logo.svg from both root app and other engines ?
when loading the engine, in /shared_engine I get
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I'm trying to encapsulate some common webstyle patterns within an engine and share them with root app/ other engines.
Folder Structure would be:
I've followed the engines recomendations mentioned in other discussions adding config/vite.rb to the root app.
What would be the way to access logo using vite_asset_path for logo.svg from both root app and other engines ?
when loading the engine, in /shared_engine I get
I guess I'm trying to resolve the asset url on root app or other engine
Beta Was this translation helpful? Give feedback.
All reactions