Akryum / Akryum/floating-vue

v-popover component isn't globally registered on build (but it is globally registered on dev)

オープン
#394 コメント 2 件 リアクション 2 件 担当者 0 名 GitHub で見る
need-repro
主要言語
TypeScript
スター
3.5k
フォーク
341
平均マージ
14分
マージ済み PR(30日)
8

説明

I am globally registering this module

```
import VTooltip from 'v-tooltip'
let tooltipOptions = {
popover: {
defaultPlacement: 'top',
defaultBaseClass: 'vue-tooltip vue-popover',
defaultInnerClass: 'popover-inner'
}
}
Vue.use(VTooltip, tooltipOptions)
```

It works perfectly on dev, but when I run build the error is `Unknown custom element: `

I can import the component individually in my .Vue file by using

`import { VPopover } from 'v-tooltip'`

But this makes it difficult to use any global settings for these components.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。