SSR support
This commit is contained in:
parent
130ea92a19
commit
3684e716eb
1 changed files with 1 additions and 2 deletions
|
@ -3,8 +3,7 @@
|
||||||
* */
|
* */
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
const isServer = Vue.prototype.$isServer;
|
const isServer = Vue.prototype.$isServer;
|
||||||
// const Popper = isServer ? function() {} : require('popper.js'); // eslint-disable-line
|
const Popper = isServer ? function() {} : require('popper.js/dist/umd/popper.js'); // eslint-disable-line
|
||||||
import Popper from 'popper.js';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue