2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-19 09:50:33 +03:00

oh wow it works I guess

This commit is contained in:
Jeff Sagal
2022-12-08 14:23:05 -08:00
parent 8bf7b9acef
commit af7e672c20
5 changed files with 32 additions and 11 deletions
+10
View File
@@ -1,3 +1,4 @@
import { resolve } from 'path'
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
css: ['~/assets/styles/fonts.css'],
@@ -35,6 +36,15 @@ export default defineNuxtConfig({
},
},
vite: {
resolve: {
alias: {
// resolve the aliases used in the vue-select build
'@': resolve(__dirname, '../src'),
},
},
},
build: {
// @see https://github.com/tailwindlabs/headlessui/discussions/1545#discussioncomment-2871517
transpile: ['@headlessui/vue'],