Skip to content

New additions#5

Open
alebumbar wants to merge 2 commits into
masterfrom
new-additions
Open

New additions#5
alebumbar wants to merge 2 commits into
masterfrom
new-additions

Conversation

@alebumbar

Copy link
Copy Markdown
Owner

No description provided.

Comment thread src/App.vue
</v-row>
</v-app-bar>

<v-main>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need this part

Comment thread src/components/NavBar.vue
name: "NavBar",
data() {
return {
routes: [],

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need dat options for this.
Use computed instead
WHY?
Because data property for data that we are going to change.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EG

computed:{
 routes():{
 return this.$router.options.routes;
 }
}

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

Successfully merging this pull request may close these issues.

2 participants