Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Single file component can't export default. #5

Open
ffflabs opened this issue Mar 29, 2017 · 2 comments
Open

Single file component can't export default. #5

ffflabs opened this issue Mar 29, 2017 · 2 comments

Comments

@ffflabs
Copy link

ffflabs commented Mar 29, 2017

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.

@OskarBun
Copy link

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

@ffflabs
Copy link
Author

ffflabs commented Jul 31, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants