Last active
March 5, 2024 19:40
-
-
Save ashx3s/55d569bd92d3bcd41e13fedf627a6e18 to your computer and use it in GitHub Desktop.
Revisions
-
ashx3s revised this gist
Mar 5, 2024 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -47,5 +47,6 @@ These are intended to develop your skills and methodology at creating components ## Accordion Components - Make a set of components for mantainable accordion drop downs - Nest components using props and slots as makes sense to you - Add animation to it - Try implementing with 2 different arrays of data -
ashx3s revised this gist
Mar 5, 2024 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -44,3 +44,8 @@ These are intended to develop your skills and methodology at creating components - Create a wrapper component that will handle layout - Verify that it works well. - Think of another use case for your layout component and standardize it so that it can be easily used in both use cases ## Accordion Components - Make a set of components for mantainable accordion drop downs - Add animation to it - Try implementing with 2 different arrays of data -
ashx3s revised this gist
Mar 5, 2024 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -37,3 +37,10 @@ These are intended to develop your skills and methodology at creating components - Create class props using [class and style binding](https://vuejs.org/guide/essentials/class-and-style) - Use this to generate primary/secondary buttons in a Page Header - EXTRA Challenge: create a PageHeader component that takes an image and headline as well as info for buttons to be passed down too ## Cards - Create a generic and a specific card component - Use a mix of content and class props (depending on the design) - Create a wrapper component that will handle layout - Verify that it works well. - Think of another use case for your layout component and standardize it so that it can be easily used in both use cases -
ashx3s revised this gist
Mar 5, 2024 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -35,3 +35,5 @@ These are intended to develop your skills and methodology at creating components - Create an AppButton component - Give it basic props and/or slots - Create class props using [class and style binding](https://vuejs.org/guide/essentials/class-and-style) - Use this to generate primary/secondary buttons in a Page Header - EXTRA Challenge: create a PageHeader component that takes an image and headline as well as info for buttons to be passed down too -
ashx3s revised this gist
Mar 5, 2024 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -31,4 +31,7 @@ These are intended to develop your skills and methodology at creating components - it shouldn't take any props - Render it onto the `App.vue` page ## Styled Buttons - Create an AppButton component - Give it basic props and/or slots - Create class props using [class and style binding](https://vuejs.org/guide/essentials/class-and-style) -
ashx3s revised this gist
Mar 5, 2024 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -25,8 +25,10 @@ These are intended to develop your skills and methodology at creating components --- ## Navbar Component - Create a `TheNav` or similarly named component for the navbar - it shouldn't take any props - Render it onto the `App.vue` page ## -
ashx3s revised this gist
Mar 5, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -29,4 +29,4 @@ These are intended to develop your skills and methodology at creating components - Create a `TheNav` or similarly named component for the navbar - it shouldn't take any props - Render it onto the `App.vue` page -
ashx3s revised this gist
Mar 5, 2024 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -23,4 +23,10 @@ These are intended to develop your skills and methodology at creating components - Imports - make sure to import your components onto the page that they will be used (watch the relative path) --- ## Easy Activity: Create a navbar component - Create a `TheNav` or similarly named component for the navbar - it shouldn't take any props - Render it onto the page -
ashx3s revised this gist
Mar 5, 2024 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -21,4 +21,6 @@ These are intended to develop your skills and methodology at creating components <AppButton>Some random text</AppButton> ``` - Imports - make sure to import your components onto the page that they will be used (watch the relative path) --- -
ashx3s revised this gist
Mar 5, 2024 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -21,5 +21,4 @@ These are intended to develop your skills and methodology at creating components <AppButton>Some random text</AppButton> ``` - Imports - make sure to import your components onto the page that they will be used (watch the relative path) -
ashx3s revised this gist
Mar 5, 2024 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -21,4 +21,5 @@ These are intended to develop your skills and methodology at creating components <AppButton>Some random text</AppButton> ``` - Imports - make sure to import your components onto the page that they will be used (watch the relative path) - Looping -
ashx3s revised this gist
Mar 5, 2024 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -19,4 +19,6 @@ These are intended to develop your skills and methodology at creating components - They can be used alongside or often in place of props ``` <AppButton>Some random text</AppButton> ``` - Imports - make sure to import your components onto the page that they will be used -
ashx3s revised this gist
Mar 5, 2024 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,6 +16,7 @@ These are intended to develop your skills and methodology at creating components - Render variables in the dom with double moustache syntax: `{{ variable Name }}` - Slots - use slots to make your component wrap around content like a regular html element - They can be used alongside or often in place of props ``` <AppButton>Some random text</AppButton> ``` -
ashx3s revised this gist
Mar 5, 2024 . 1 changed file with 6 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,4 +13,9 @@ These are intended to develop your skills and methodology at creating components - Props - props are used to pass specific information into a component. - Bind props to attributes like this: `:href="link.href"` - Render variables in the dom with double moustache syntax: `{{ variable Name }}` - Slots - use slots to make your component wrap around content like a regular html element ``` <AppButton>Some random text</AppButton> ``` -
ashx3s revised this gist
Mar 5, 2024 . 1 changed file with 16 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,16 @@ # Vue Component Lab Activties These are intended to develop your skills and methodology at creating components in a frontend framework. ## Important Topics - Naming conventions - prefixes: - `The`: For components that are only used once on a given page - `App` or `V`: For components that are generic and presentational - Stringing words together - ie: `TheHeader` `TheHeaderLogo` `TheHeaderNav` - All of these would only be used once and together. They're named like that to group them easily and note parent/child relationships - Props - props are used to pass specific information into a component. - Bind props to attributes like this: `:href="link.href"` - Render variables in the dom with double moustache syntax: `{{ variable Name }}` -
ashx3s created this gist
Mar 5, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@