diff options
| -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, {}) +}) |
