Vue/Javascript 入門1週間程度なのでよくわかっていないですが、以下のような書き方がサンプルコードとしてころがっています。(コピペコーダー)
that.$router.replace("hoge");
それに無名関数を2つつけてください(何故直るかは知りません)
vue router の定義がこっそり変わったのかもしれません。
that.$router.replace("hoge", () => {}, () => {});
1日ぐらいむだにしました
Go to list of users who liked
More than 3 years have passed since last update.
Vue/Javascript 入門1週間程度なのでよくわかっていないですが、以下のような書き方がサンプルコードとしてころがっています。(コピペコーダー)
that.$router.replace("hoge");
それに無名関数を2つつけてください(何故直るかは知りません)
vue router の定義がこっそり変わったのかもしれません。
that.$router.replace("hoge", () => {}, () => {});
1日ぐらいむだにしました
Register as a new user and use Qiita more conveniently
Go to list of users who liked