Commit 11d38676232def2008a66118e823e4c08b9e5f59
Committed by
GitHub

1 parent
3684e716
SSR support
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
src/components/select/dropdown.vue
@@ -5,8 +5,7 @@ | @@ -5,8 +5,7 @@ | ||
5 | import Vue from 'vue'; | 5 | import Vue from 'vue'; |
6 | const isServer = Vue.prototype.$isServer; | 6 | const isServer = Vue.prototype.$isServer; |
7 | import { getStyle } from '../../utils/assist'; | 7 | import { getStyle } from '../../utils/assist'; |
8 | - // const Popper = isServer ? function() {} : require('popper.js'); // eslint-disable-line | ||
9 | - import Popper from 'popper.js'; | 8 | + const Popper = isServer ? function() {} : require('popper.js/dist/umd/popper.js'); // eslint-disable-line |
10 | 9 | ||
11 | export default { | 10 | export default { |
12 | name: 'Drop', | 11 | name: 'Drop', |