BeaconCMS / beacon

Open-source content management system (CMS) built with Phoenix LiveView. Faster render times to boost SEO performance, even for the most content-heavy pages.
https://beaconcms.org
MIT License
1.04k stars 101 forks source link

Validate component calls in HEEx templates #665

Open leandrocp opened 5 days ago

leandrocp commented 5 days ago

Adding an undefined component should warn and not save the template.

For example adding <. whatever /> into a page template, and assuming that component doesn't exist anywhere, it should not let the user save the page and display a compilation error, similar to when a template syntax is invalid.