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
Hi- I'm having a lot of trouble figuring out how to extend this code for my project, specifically how to re-use your custom elements like "base-card", "app-sliders", etc. I'm still relatively new to Angular code organization.
For example, I tried to figure out how your "base-card" element finds its way into ChartsComponent, and using that as an template for how to have elements in my new pages. It appears (see diagram) that this comes across via ThemeModule. But when I clone all the files in charts/ and swap all "chart" names with, say, "about" to create a new About page, I get nothing but errors like "Template parse errors: 'base-card' is not a known element".
Do you have a step-by-step suggestion for how to create a new page that can leverage all your beautiful components?
The text was updated successfully, but these errors were encountered:
Hi- I'm having a lot of trouble figuring out how to extend this code for my project, specifically how to re-use your custom elements like "base-card", "app-sliders", etc. I'm still relatively new to Angular code organization.
For example, I tried to figure out how your "base-card" element finds its way into ChartsComponent, and using that as an template for how to have elements in my new pages. It appears (see diagram) that this comes across via ThemeModule. But when I clone all the files in charts/ and swap all "chart" names with, say, "about" to create a new About page, I get nothing but errors like "Template parse errors: 'base-card' is not a known element".
Do you have a step-by-step suggestion for how to create a new page that can leverage all your beautiful components?
The text was updated successfully, but these errors were encountered: