生产环境 base路径问题

master
CherrysChang 4 years ago
parent f8bfdf44f5
commit 8d657c2990
  1. 1
      src/main.js

@ -41,6 +41,7 @@ Vue.use(Vuex)
//NProgress.configure({ showSpinner: false }); //NProgress.configure({ showSpinner: false });
const router = new VueRouter({ const router = new VueRouter({
//base: '/vue-admin/', //build时需要加上
routes routes
}) })

Loading…
Cancel
Save