klarkc / pure-vue

It's Vue, it's PureScript. Simple as that.
MIT License
18 stars 0 forks source link

Feat sfc script #10

Open klarkc opened 2 years ago

klarkc commented 2 years ago

Resolves #9

klarkc commented 2 years ago

If for some reason purs is not compatible, we could use https://github.com/purescript/trypurescript to start a local server and build purescript without dealing with dependency resolution. But the code will be bundled, so we might have code duplication between different components.

klarkc commented 2 years ago

Reference on dependency handle: https://github.com/Mateiadrielrafael/esbuild-plugin-purescript

klarkc commented 2 years ago

But the code will be bundled

Just remembered that trypurescript does not bundle the produced code (it works with ESM)

mengwong commented 2 years ago

just noting – https://github.com/Pauan/rollup-plugin-purs may be useful – though it's quite old