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

Getting Vue warn in console when try example from Project page #71

Open
biopowder opened this issue Nov 26, 2020 · 0 comments
Open

Getting Vue warn in console when try example from Project page #71

biopowder opened this issue Nov 26, 2020 · 0 comments

Comments

@biopowder
Copy link

Got errors in console:

found in

--->

at resources/js/Layouts/AppLayout.vue
at resources/js/Pages/Dashboard.vue

  1. Method "route" has already been defined as a prop.

  2. Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "route"

import {VueTabs, VTab} from 'vue-nav-tabs/dist/vue-tabs.js'

components: {
    VueTabs,
    VTab
},
                    <vue-tabs>
                        <v-tab title="First tab">
                            First tab content
                        </v-tab>

                        <v-tab title="Second tab">
                            Second tab content
                        </v-tab>

                        <v-tab title="Third tab">
                            Third tab content
                        </v-tab>
                    </vue-tabs>
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