Element Plus Nuxt plugin does not work in a layer
I opened an issue there (https://github.com/element-plus/element-plus-nuxt/issues/161), but I would like to ask it here too to make sure.
The plugin works as expected when you use in a standalone Nuxt project, but once it is in a Nuxt layer (instead of installing/using in the root), we aren't able to overwrite the styles by using
I created a reproduction repo here: https://github.com/lkjimy/element-plus-nuxt-issue
(It uses NPM workspaces. Run
Any scss file added to the
If someone from the Nuxt team could help me on this, I'd appreciate it.
The plugin works as expected when you use in a standalone Nuxt project, but once it is in a Nuxt layer (instead of installing/using in the root), we aren't able to overwrite the styles by using
additionalData and neither use any other file there.I created a reproduction repo here: https://github.com/lkjimy/element-plus-nuxt-issue
(It uses NPM workspaces. Run
npm i, npm run dev in the root dir)Any scss file added to the
additionalData key will result in this error, even if it is emptyIf someone from the Nuxt team could help me on this, I'd appreciate it.
GitHub
Element Plus module for Nuxt. Contribute to element-plus/element-plus-nuxt development by creating an account on GitHub.
GitHub
Contribute to lkjimy/element-plus-nuxt-issue development by creating an account on GitHub.
