mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-17 06:01:34 +00:00
Revert "fix(vue-app): use mixin to provide this.$nuxt
(#8068)"
This reverts commit 8abdc177be
.
This commit is contained in:
parent
afc2e2af8e
commit
61e93d01f9
@ -24,14 +24,6 @@ if (!Vue.__nuxt__fetch__mixin__) {
|
||||
}
|
||||
<% } %>
|
||||
|
||||
Vue.mixin({
|
||||
beforeCreate() {
|
||||
if(Vue.prototype.<%= globals.nuxt %>) {
|
||||
this.<%= globals.nuxt %> = Vue.prototype.<%= globals.nuxt %>
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
// Component: <NuxtLink>
|
||||
Vue.component(NuxtLink.name, NuxtLink)
|
||||
<% if (features.componentAliases) { %>Vue.component('NLink', NuxtLink)<% } %>
|
||||
|
Loading…
Reference in New Issue
Block a user