-
Notifications
You must be signed in to change notification settings - Fork 15
script lang="ts"
not works
#4
Comments
The plugin for vue is using built-in compiler compiles the other lang. Those compilers are:
That will allow you to use other parcel plugins to process a part of a Vue component at next version. But now, you need do it yourself, I'm sorry for this. I published the 'parcel-plugin-vue@1.3.0', use it, and then, you can make a file named 'vue.config.js', edit and save it
Good luck for you. @JounQin For 'vue.config.js', you can refer to https://www.npmjs.com/package/vueify#configuring-options |
@lc60005457 Thx for your quick response, but it only works at first rendering on development, and when I refresh the page, it will throw error:
Reproduce: https://github.com/JounQin/parcel-study/tree/issue/parcel-plugin-vue |
@JounQin This Error is a Network Error. When I try to refresh the page, the server shut down, It's not the plugin fail. The 'parcel-bundler dependencies' has a 'ws' is '^3.3.2'. When I clear cache and npm install my demo, ws@3.3.3 is installed, and show this Error. I try to reinstall ws@3.3.2, It's. |
@lc60005457 Thx, lock |
Error:
The text was updated successfully, but these errors were encountered: