gulp-vue-compiler icon indicating copy to clipboard operation
gulp-vue-compiler copied to clipboard

Planned support of style tags?

Open ortonomy opened this issue 4 years ago • 4 comments

I get this might be dependent on vue-component-compiler (https://github.com/vuejs/vue-component-compiler) -- but is there a plan to support style tags?

ortonomy avatar Aug 03 '19 06:08 ortonomy

@ortonomy Hi! I think vue-component-compiler already supports that. I don't directly use this package anymore but I'd be happy to merge PRs updating that. Otherwise, it will take some time before I can update this myself.

frandiox avatar Aug 04 '19 23:08 frandiox

I don't directly use this package anymore

Oh, you said that you the beta uses vue-component-compiler in the readme, and the latest version available on npm is beta.

v1: Uses vue-component-compiler internally (more info here). options.esModule (default true), options.parserConfig, options.templateCompilerConfig, options.babel. Beta release does not support style tags.

Is there a "non-beta" release or a release that support style tags?

ortonomy avatar Aug 05 '19 03:08 ortonomy

@ortonomy There is no version that supports style tags. v0 used a different package internally that was problematic. v1-beta uses vue-component-compiler, which is official. I made this for OnsenUI but in fact, that project never needed style tags in Vue components, that's why this stayed as beta forever 😅

frandiox avatar Aug 05 '19 07:08 frandiox

@frandiox -- OK! Thanks for taking the time to answer.

ortonomy avatar Aug 05 '19 09:08 ortonomy