From 522b5212550dd387a3cf9ff7e34c5f5933f1fcd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=B8=9C=E8=BE=BE?= <7600167+wdd15359180132@user.noreply.gitee.com> Date: Mon, 20 Jul 2020 12:00:55 +0800 Subject: [PATCH] =?UTF-8?q?update=20src/main.js.=20VueRoute=20=E5=A5=BD?= =?UTF-8?q?=E5=83=8F=E8=A6=81=E8=BF=99=E6=A0=B7=E6=B3=A8=E5=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 3fc758d..5f6c76f 100644 --- a/src/main.js +++ b/src/main.js @@ -15,10 +15,11 @@ import { } from '@/config/env'; import i18n from './lang' // Internationalization import './styles/common.scss'; +import VueRouter from 'vue-router' import basicContainer from './components/basic-container/main' -Vue.use(router) +Vue.use(VueRouter) Vue.use(VueAxios, axios) Vue.use(Element, { i18n: (key, value) => i18n.t(key, value) -- Gitee