change nuxt base
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
# PLUGINS
|
||||
|
||||
**This directory is not required, you can delete it if you don't want to use it.**
|
||||
|
||||
This directory contains Javascript plugins that you want to run before mounting the root Vue.js application.
|
||||
|
||||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/plugins).
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
import Vue from 'vue'
|
||||
import header from '../components/header'
|
||||
import logo from '../components/icons/logo'
|
||||
import langBar from '../components/langBar'
|
||||
|
||||
|
||||
Vue.component('site-header', header)
|
||||
Vue.component('logo', logo)
|
||||
Vue.component('langBar', langBar)
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
import Vue from 'vue'
|
||||
import Element from 'element-ui'
|
||||
import locale from 'element-ui/lib/locale/lang/en'
|
||||
|
||||
Vue.use(Element, { locale })
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
import Vue from 'vue'
|
||||
import gsap from 'gsap'
|
||||
|
||||
Vue.prototype.$gsap = gsap
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
import Vue from 'vue'
|
||||
import vueScrollMagic from 'vue-scrollmagic'
|
||||
|
||||
Vue.use(vueScrollMagic)
|
||||
Reference in New Issue
Block a user