Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble creating or cloning new pages #28

Open
handsoffred opened this issue Nov 5, 2019 · 0 comments
Open

Trouble creating or cloning new pages #28

handsoffred opened this issue Nov 5, 2019 · 0 comments

Comments

@handsoffred
Copy link

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?

mat-ang-db diagram

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant