vuejs / vue-component-compiler

Compile a single file Vue component into a CommonJS module.
MIT License
342 stars 52 forks source link

feat: use component-compiler-utils #59

Closed znck closed 6 years ago

znck commented 6 years ago

There is simple assemble implementation which can cater most use-cases.

yyx990803 commented 6 years ago

I assume this is WIP until tests are passing?

znck commented 6 years ago

Yes. This assumes component-compiler-utils PRs are merged. I asked for your review on approach. The descriptor compiler and an assemble implementation to cater common use cases.

znck commented 6 years ago

@yyx990803 please review now.

yyx990803 commented 6 years ago

The externalization can be introduced later. Once you finish the style map refactor you can merge this to master and publish as @vue/component-compiler. Also add some documentation :)