mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
Add polyfill in client & index
This commit is contained in:
parent
99bfac25aa
commit
0b58637a09
@ -1,5 +1,7 @@
|
||||
'use strict'
|
||||
|
||||
require('es6-object-assign').polyfill()
|
||||
import 'es6-promise/auto'
|
||||
import Vue from 'vue'
|
||||
import { app, router<%= (store ? ', store' : '') %> } from './index'
|
||||
import { getMatchedComponents, getMatchedComponentsInstances, flatMapComponents, getContext, promisify, getLocation, compile } from './utils'
|
||||
|
@ -1,7 +1,6 @@
|
||||
'use strict'
|
||||
|
||||
require('es6-object-assign').polyfill()
|
||||
import 'es6-promise/auto'
|
||||
import Vue from 'vue'
|
||||
import Meta from 'vue-meta'
|
||||
import router from './router.js'
|
||||
|
Loading…
Reference in New Issue
Block a user