Is there support for partials and layouts?
rowild opened this issue · comments
And if so, does hot-reloading work?
(Because that's the PITA when it comes to webpack and HRM, be it pug, ejs, moustache: not hot reloading when editing partials.)
any demo/shoucase? I dont know about that.
@IndexXuan you don't know about ... what exactly? Whether vite supports partials and layouts? Or about webpack showcases?
Some discussion / articles on the problem with HRM and partials editing:
jantimon/html-webpack-plugin#1397
https://newbedev.com/how-to-use-webpack-to-concat-html-pieces
Lots of stuff on that topic out there...
vite does not evan support html template.
I use ejs for partial include html many years ago, and it is not P0 for me to implements. while PR is welcome if you can help.
Thanks.
and it is not P0 for me to implements
@IndexXuan What do you mean by "P0"?
high priority
Ah! Understood! :-)