emmett
emmett copied to clipboard
Migrate to web components
Todo:
- [ ] Pick frontend framework (vuejs?)
- [ ] Drop jquery
- [ ] Rewrite helpers
- [ ] Rewrite forms
@gi0baro Vuejs is fantastic. I use a quasar framework, built on vue https://quasar.dev/
@josejachuf thank you for the hint! I'll take a look.
Hey, I'm curious about this. I'd be happy to try and tackle/get it started too. Totally new/finding my bearings but I want to help make Emmett a real popular choice!
Specifically, I think a better replacement for jquery would be either https://alpinejs.dev or petite-vue. Might not be too big a change either to rig it up
Hi @Phamiliarize I did not know Alpine.js. Looks great
Hey, I'm curious about this. I'd be happy to try and tackle/get it started too. Totally new/finding my bearings but I want to help make Emmett a real popular choice!
Specifically, I think a better replacement for jquery would be either https://alpinejs.dev or petite-vue. Might not be too big a change either to rig it up
@Phamiliarize alpinejs sounds fine to me. Feel free to open up a PR for this even for experimenting.
Stage 0 would be dropping jquery and rewrite helpers in plan javascript probably, where backward compatibility should be kept. The next stage would be rewriting forms code, where the complex part would be to keep the custom
attribute support (see https://github.com/emmett-framework/emmett/blob/master/emmett/forms.py#L204).
Feel free to use this issue to ask questions/get more info :)