akxcv / vuera

:eyes: Vue in React, React in Vue. Seamless integration of the two. :dancers:
MIT License
4.3k stars 242 forks source link

Feature: Help making a Webpack plugin for users that don't use babel. #113

Open sbrow opened 4 years ago

sbrow commented 4 years ago

I'm running a build that using typescript in lieu of babel, and I was wondering how hard it'd be to make a Webpack plugin/loader that does the same thing as the babel plugin.

I'd be willing to do this myself in a PR, I was just wondering if you had any guidance on getting started.

I was thinking of hooking into the vue-loader output and wrapping it in React.createElement(VueWrapper, {...component, props}, children) or something like that.

Thanks for the awesome package!