systemjs-plugin-vue icon indicating copy to clipboard operation
systemjs-plugin-vue copied to clipboard

Single file component can't export default.

Open ffflabs opened this issue 8 years ago • 2 comments

Exporting from a file will cause system-pugin-babel to load the .vue file, apparently not allowing systemjs-plugin-vue to do its job.

Using common cjs syntax module.exports inside the .vue file works just fine.

ffflabs avatar Mar 29 '17 02:03 ffflabs

I've found the same issue, any thoughts or PRs to solve?

OskarBun avatar May 21 '17 19:05 OskarBun

Funny enough it's no longer happening. I'm using export default and plugin babel doesn't mess with my vue component.

ffflabs avatar Jul 31 '18 18:07 ffflabs