diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2024-03-10 01:38:15 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2024-03-10 01:38:15 +0000 |
| commit | e4595138865ca649a4f0a87fec865241e0296abd (patch) | |
| tree | f1a5f9dfb638d999716e5d392e2e060b7fa383db | |
| parent | 71e4ad2c71efea471923ea47f01bfda841387f81 (diff) | |
Fix vue multiselect
| -rw-r--r-- | plugins/fontawesome.ts | 3 | ||||
| -rw-r--r-- | plugins/multiselect.ts | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/fontawesome.ts b/plugins/fontawesome.ts index a6a1a85..2363b66 100644 --- a/plugins/fontawesome.ts +++ b/plugins/fontawesome.ts @@ -3,11 +3,8 @@ import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' import { fas } from '@fortawesome/free-solid-svg-icons' import { far } from '@fortawesome/free-regular-svg-icons' -// This is important, we are going to let Nuxt worry about the CSS config.autoAddCss = false -// You can add your icons directly in this plugin. See other examples for how you -// can add other styles or just individual icons. library.add(fas) library.add(far) diff --git a/plugins/multiselect.ts b/plugins/multiselect.ts new file mode 100644 index 0000000..5f76652 --- /dev/null +++ b/plugins/multiselect.ts @@ -0,0 +1,5 @@ +import Multiselect from 'vue-multiselect' + +export default defineNuxtPlugin((nuxtApp) => { + nuxtApp.vueApp.component('multiselect', Multiselect, {}) +}) |
