You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As evidenced in the PR for code splitting there are some rough developer ergonomics around having to extend app-template.js, in that you have recreate (copy / paste) the entire file. Even if all you want to make is a little change like this
<!-- current template --><divclass='wrapper'>
MYROUTES
<lit-route><h1>404 Not found</h1></lit-route></div><!-- just to add a heater and a footer --><divclass='wrapper'><eve-header></eve-header>
MYROUTES
<lit-route><h1>404 Not found</h1></lit-route><eve-footer></eve-footer></div>
Details
I wonder if there's a way to do one of the following?
Extend
Simple extend the component and override the render method
Note I tried this and was getting errors that /index.index.js couldn't be resolved, likely because the app-template is in the user directory, not CLI directory?
Slots
Maybe allow users to project / slot content into the `?
Type of Change
Summary
As evidenced in the PR for code splitting there are some rough developer ergonomics around having to extend app-template.js, in that you have recreate (copy / paste) the entire file. Even if all you want to make is a little change like this
Details
I wonder if there's a way to do one of the following?
Extend
Simple extend the component and override the
render
methodSlots
Maybe allow users to project / slot content into the `?
The text was updated successfully, but these errors were encountered: