Skip to content

Commit 1c48491

Browse files
committed
Minor frontend build fix
Imports from Vue aren't required in Nuxt. Plus HeroIcons require transpiling to ensure they're available after build.
1 parent cd539c5 commit 1c48491

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

{{cookiecutter.project_slug}}/frontend/components/layouts/default/Footer.vue

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
</template>
1919

2020
<script setup lang="ts">
21-
import { defineComponent, h } from "vue"
22-
2321
const siteName: String = "Your Company, Inc"
2422
2523
const footerNavigation = {

{{cookiecutter.project_slug}}/frontend/nuxt.config.ts

+3
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,8 @@ export default defineNuxtConfig({
6363
tailwindcss: {},
6464
autoprefixer: {},
6565
},
66+
},
67+
build: {
68+
transpile: ['@heroicons/vue']
6669
}
6770
})

0 commit comments

Comments
 (0)