Create a new branch for your work, name it something like copilot/my-component
If you are doing this today, create your branch from master after I have accepted our sw-planet-films PR into master
If you are doing this in future, create your branch from week-08-sharing-start/master since master may change a lot-lot as we progress through the class
Remember ng generate component copilot-my-component
Probably diary commit
Edit app.html to add your component below <app-sw-planet-films></app-sw-planet-films>, your component selector is likely something like <app-copilot-my-component></app-copilot-my-component>
Probably have to import it into app.ts and add it to the imports array in the component decorator...
Save and see it work, should see copilot-my-component works below our planet with film count list, and then review your changes and make a diary commit : - )
Edit your component HTML E.g. copilot-my-component.html and hardcode something in there other than the <p></p> , maybe an <h1> and some <ul> of some planet list you might build in future... Or anything really for this week's sharing
Save, view, review, diary commit ! ! !
Make your PR...
Create a new branch for your work, name it something like copilot/my-component
If you are doing this today, create your branch from master after I have accepted our sw-planet-films PR into master
If you are doing this in future, create your branch from week-08-sharing-start/master since master may change a lot-lot as we progress through the class
Remember ng generate component copilot-my-component
Probably diary commit
Edit app.html to add your component below
<app-sw-planet-films></app-sw-planet-films>, your component selector is likely something like<app-copilot-my-component></app-copilot-my-component>Probably have to import it into app.ts and add it to the imports array in the component decorator...
Save and see it work, should see copilot-my-component works below our planet with film count list, and then review your changes and make a diary commit : - )
Edit your component HTML E.g. copilot-my-component.html and hardcode something in there other than the
<p></p>, maybe an<h1>and some<ul>of some planet list you might build in future... Or anything really for this week's sharingSave, view, review, diary commit ! ! !
Make your PR...