isTranspilable vue.js ?
Closed this issue ยท 6 comments
Hey there!
I'm new to Monaca, loving it so far. I am trying to use Monaca with vue-loader/webpack?
I started off with the "no framework, Blank Template", and thought I could use monaca transpile
to build .vue files.
Seems like monaca transpile
only supports react & angular2 ?
What's the best way to integrate vue-loader with Monaca hybrid apps?
Thanks!
@quangv I think all the information for that is stored in myproject/.monaca/
. You can change that but maybe is easier to start with a React example and simply modify webpack configs and package.json. It could be possible that you need to install the build dependencies (like loaders, etc) in ~/.cordova/
(unless you change the path in the webpack configs).
@frankdiox cool thanks! I really like how monaca leverages webpack ๐
@quangv Thanks. Would you mind to share the webpack config when you set it up for Vue? Probably at some point we will support Vue in the CLI and that would save us some time for transpiling Vue ๐
@frankdiox this was my webpack config I got working.
https://gist.github.com/quangv/97088a598403cace05eee1e5b5dc7113
based off the react-min.
-Cheers