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

Probled with closeOpenMenuOnHrefPush #17

Open
AndreyKachanov opened this issue Apr 23, 2023 · 2 comments
Open

Probled with closeOpenMenuOnHrefPush #17

AndreyKachanov opened this issue Apr 23, 2023 · 2 comments

Comments

@AndreyKachanov
Copy link

How use new option closeOpenMenuOnHrefPush?
I updated to the latest version of the package and set :closeOpenMenuOnHrefPush="true", but the error still crashes.

[Vue warn]: Extraneous non-props attributes (closeOpenMenuOnHrefPush) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.
at <VasMenu key=0 width="300px" miniMenu=false ... >
at
at

@amirkian007
Copy link
Owner

@AndreyKachanov
that weird , can you give me a full example ?

@AndreyKachanov
Copy link
Author

@AndreyKachanov that weird , can you give me a full example ?

laradock@d737d628b23a:/var/www/catalog.loc$ npm list "vue-awesome-sidebar"
catalog.loc@ /var/www/catalog.loc
└── vue-awesome-sidebar@1.2.3

<VueAwesomeSideBar
    v-if="categoriesForSidebar.length > 0"
    :width="width"
    :miniMenu="false"
    :menuType="menuType"
    :collapsed="collapsed"
    :menu="categoriesForSidebar"
    :closeOnClickOutSide="true"
    @update:collapsed="handelCollapse"
    :overLayerOnOpen="ismobile"
    :childrenOpenAnimation="true"
    :keepChildrenOpen="true"
    :BottomMiniMenuBtn="false"
    @item-click="itemClickHandel"
    :closeOpenMenuOnHrefPush="true"
    vueRouterEnabel
></VueAwesomeSideBar>

vue

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

2 participants