Jump to content

Import Vue Instance in Vuejs as well as the usage of Tabs component in VueJS

mrchow19910319

I got this error when I try to run my app... I'm not sure how to add component into default.vue though...

Sorry if this question is too basic.

 

Quote
 
ERROR [Vue warn]: Property or method "nav" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by
 
found in
 
---> at components/header.vue
at layouts/default.vue
 

123.thumb.png.5272c7df412869337aca2d9f110a1b9c.png

If it is not broken, let's fix till it is. 

Link to comment
Share on other sites

Link to post
Share on other sites

Another thing I don't understand is that in Vue if you want to use Tabs as your navigation bar, then you have to include all the HTMLs inside the default.vue layout??? Or you can create different vue components and later import them into the default layout....

 

1706783710_Inked4_LI.thumb.jpg.11cfd75b964d0fbea5acfccaf64aa1b6.jpg

If it is not broken, let's fix till it is. 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×