FEMessage / vue-sfc-cli

🔨A powerful tool for developing vue single-file component
https://medium.com/deepexi/reveal-the-secret-of-vue-sfc-cli-69f0f21dbad3
MIT License
149 stars 36 forks source link

支持打包 typescript 组件 #114

Open donaldshen opened 4 years ago

donaldshen commented 4 years ago

Is your feature request related to a problem? Please describe. 支持打包 typescript 组件

Describe the solution you'd like 参考 https://github.com/FEMessage/v-gantt ,使用 vue-cli 生成模板,原生支持 typescript & 库模式。缺点是使用 webpack 打包不支持产出 esm 模块

Describe alternatives you've considered 摸索 rollup + typescript + vue 方案。v-gantt 同样有一份 rollup 打包配置可参考。但也有需要解决的问题 https://github.com/FEMessage/v-gantt/issues/13