1
0

More than 3 years have passed since last update.

Vue router でのルーティングが NavigationDuplicated で動作しなときは

Posted at

Vue/Javascript 入門1週間程度なのでよくわかっていないですが、以下のような書き方がサンプルコードとしてころがっています。(コピペコーダー)

that.$router.replace("hoge");

それに無名関数を2つつけてください(何故直るかは知りません)
vue router の定義がこっそり変わったのかもしれません。

that.$router.replace("hoge", () => {}, () => {});

1日ぐらいむだにしました

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0