荟房官网

main.js 707B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // The Vue build version to load with the `import` command
  2. // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
  3. import Vue from 'vue'
  4. import ElementUI from 'element-ui'
  5. import 'element-ui/lib/theme-chalk/index.css'
  6. import App from './App'
  7. import router from './router'
  8. Vue.config.productionTip = false
  9. import animate from 'animate.css'
  10. import 'vue-fullpage/vue-fullpage.css'
  11. import VueFullpage from 'vue-fullpage'
  12. Vue.use(VueFullpage)
  13. Vue.use(animate)
  14. Vue.use(ElementUI)
  15. // new Vue({
  16. // el: '#app',
  17. // render: h => h(App)
  18. // })
  19. /* eslint-disable no-new */
  20. new Vue({
  21. el: '#app',
  22. router,
  23. render: h => h(App),
  24. components: { App },
  25. template: '<App/>'
  26. })