pure-vue
pure-vue copied to clipboard
It's Vue, it's PureScript. Simple as that.
Maybe we should improve setup hook using a custom type as a free monad instead of Effect. [Free monads](https://book.purescript.org/chapter14.html#the-free-monad) updates a value on each code evaluation, creating a returning final...
We should be able to inject a purescript compiled function in a SFC script block - [ ] build `PureVue.compileScript` function which uses `purs` binary to output javascript code -...
By internal I mean modules in the same project (or in the current package) By external I mean modules in any other package (vendor packages)
SFC PureScript modules only export setup hook, we must have a way to import external SFCs into PureScript space and expose them to the template.
Today we're setting template names using the `UnwrapRef` constructors, but I believe we can remove them by moving this responsability to the SFC compiler using purescript AST (complicated solution) or...
Some useful links: - https://github.com/mikesol/purescript-three - https://github.com/purescript-codegen/purescript-read-dts/
- Build PureVue.compileScript function which uses purs binary to output javascript code Resolves #9