Commit 3684e716eba6cff8eea011cad4c6287e05e1f74e
Committed by
GitHub
1 parent
130ea92a
SSR support
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
src/components/base/popper.js
| @@ -3,8 +3,7 @@ | @@ -3,8 +3,7 @@ | ||
| 3 | * */ | 3 | * */ |
| 4 | import Vue from 'vue'; | 4 | import Vue from 'vue'; |
| 5 | const isServer = Vue.prototype.$isServer; | 5 | const isServer = Vue.prototype.$isServer; |
| 6 | -// const Popper = isServer ? function() {} : require('popper.js'); // eslint-disable-line | ||
| 7 | -import Popper from 'popper.js'; | 6 | +const Popper = isServer ? function() {} : require('popper.js/dist/umd/popper.js'); // eslint-disable-line |
| 8 | 7 | ||
| 9 | export default { | 8 | export default { |
| 10 | props: { | 9 | props: { |