Skip to content

router-link generated cause warning from vue-router #6471

Closed
@dtgeorge

Description

@dtgeorge

After update vue-router from 3.1.5 to 3.5.1 got warning in console:

[vue-router] <router-link>'s tag prop is deprecated and has been removed in Vue Router 4. Use the v-slot API to remove this warning: https://next.router.vuejs.org/guide/migration/#rem

b-nav-item (at least) with property "to" cause router-link generation. As far as I see vue router is preparing for the switching to new version (4 I guess) and produce such warnings.

Steps to reproduce the bug

Create b-navbar with b-nav-item with property "to" used.
Example:
<b-nav-item to="/Orders" >Link Text</b-nav-item>

Expected behavior

Now warnings in console

Versions

Libraries:

  • BootstrapVue: 2.21.2
  • Vue: 2.6.12
  • Vue Router: 3.5.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy