How do I begin to make this plugin/transformer? #8047
Unanswered
minotavrr
asked this question in
Help/Questions
Replies: 1 comment
-
My suggest is you can learn from these projects: unplugin-vue-macros or vite-plugin-vue-inspector or unplugin-vue-reuse-template and compiler-sfc 😉. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to make a plugin that performs the following process before build. Note I initially want to get this working with SFCs using the Options API.
So, for example if I have this SFC:
After processing we have this:
Yes -- I want to take inline CSS and move it to the stylesheet (just for the build, not permanently). I'm aware this is a bad idea. I do not know whether this is something I could do within the application with a directive, or if I need to go deeper.
Beta Was this translation helpful? Give feedback.
All reactions