ef4 / prember

Prerender Ember apps with Fastboot at build time.
MIT License
195 stars 17 forks source link

Astro integration #68

Open sandstrom opened 3 years ago

sandstrom commented 3 years ago

There is a new project from the Snowpack crew/company, where the intent is to make a tool for rendering (mostly) vanilla HTML/CSS/JS out of JS frameworks.

I'm no expert, but it sounds to me like they want to make an agnostic static-site generator. If that's the case, would it make sense for Ember to piggy-back on their work, and provide a thin translation layer (renderer) for Ember in Astro?

Just wanted to put the idea out there. Don't know if this is a good idea or not.

https://github.com/snowpackjs/astro/issues/350

ef4 commented 3 years ago

Making that work would be cool.

It probably wouldn't involve anything in this repo though. Most likely, you'd want to use Embroider to compile away all Ember conventions (Embroider's "stage 2" output) and then Astro has a pretty good chance of being able to take it from there.

sandstrom commented 3 years ago

Alright, makes sense! Thanks for chiming in and feel free to close this issue (since, as you say, it's probably not related to prember).

On a related note, prember is awesome and I really like it! 🏅

I'm not trying to suggest that it should go away. But similar to your work on Embroider, the more Ember can rely on other projects in the ecosystem, the better.