emmett-framework / emmett

The web framework for inventors
BSD 3-Clause "New" or "Revised" License
1.06k stars 71 forks source link

Migrate to web components #255

Open gi0baro opened 4 years ago

gi0baro commented 4 years ago

Todo:

josejachuf commented 4 years ago

@gi0baro Vuejs is fantastic. I use a quasar framework, built on vue https://quasar.dev/

gi0baro commented 4 years ago

@josejachuf thank you for the hint! I'll take a look.

Phamiliarize commented 2 years ago

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

josejachuf commented 2 years ago

Hi @Phamiliarize I did not know Alpine.js. Looks great

gi0baro commented 2 years ago

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 :)