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