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
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
-
I am using
pinia
to create a theme store where I store multiple parts ofprimevue
theme (theme, mode, color).plugins/theme.server.js
I can import it directly as
primevue/resources/themes/aura-dark-green/theme.css
but I want it to be dynamic yet added to SSR.When using the CSS directly in nuxt.config I see the URL as below.
http://localhost:3000/_nuxt/node_modules/.pnpm/primevue@3.49.1_vue@3.4.26/node_modules/primevue/resources/themes/aura-dark-green/theme.css
So how do I get the
_nuxt/node_modules/.pnpm/primevue@3.49.1_vue@3.4.26/node_modules
part in my plugin?Beta Was this translation helpful? Give feedback.
All reactions