Skip to content

Commit

Permalink
Merge pull request #20 from oneminch/fix/nuxt-icon
Browse files Browse the repository at this point in the history
fix: configure icon module to use local bundle
  • Loading branch information
oneminch authored Oct 17, 2024
2 parents aacee67 + 53de66b commit 2a74f39
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ export default defineNuxtConfig({
compatibilityDate: "2024-04-03",
components: [{ path: "~/components", pathPrefix: false }],
devtools: { enabled: false },
icon: {
mode: "svg",
serverBundle: "local"
// clientBundle: { icons: ["uil:github", "logos:vitejs"], scan: true }
},
modules: [
"@nuxtjs/tailwindcss",
"@nuxt/icon",
Expand Down

0 comments on commit 2a74f39

Please sign in to comment.