mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-06 21:10:38 +00:00
Remove fix for vue-router
This commit is contained in:
parent
a0eecd74b5
commit
75a81430a4
@ -11,11 +11,6 @@ import { getMatchedComponents, getContext, promisify, urlJoin } from './utils'
|
|||||||
const isDev = <%= isDev %>
|
const isDev = <%= isDev %>
|
||||||
const _app = new Vue(app)
|
const _app = new Vue(app)
|
||||||
|
|
||||||
// Fix issue from vue-router Abstract mode with base (used for server-side rendering)
|
|
||||||
<% if (router.base !== '/') { %>
|
|
||||||
router.history.base = '<%= router.base %>'
|
|
||||||
<% } %>
|
|
||||||
|
|
||||||
// This exported function will be called by `bundleRenderer`.
|
// This exported function will be called by `bundleRenderer`.
|
||||||
// This is where we perform data-prefetching to determine the
|
// This is where we perform data-prefetching to determine the
|
||||||
// state of our application before actually rendering it.
|
// state of our application before actually rendering it.
|
||||||
|
Loading…
Reference in New Issue
Block a user