NuxtN
Nuxt13mo ago
o.m

What causes"#build/components" from "pages/index.vue". Does the file exist ?

I am trying to reference the file in nuxt however I get this error

<script setup lang="ts">
import {
    LandingCardsFeature,
    LandingHeadlineEmail,
    LandingReviews,
    LandingTrialNotice,
} from "#build/components";
import { headlineEmail, cardsFeature } from "~/seo/landingpage.json";
const sections = [
    {
        component: LandingHeadlineEmail,
        props: {
            title1: headlineEmail.title1,
            title2: headlineEmail.title2,
            subtitle: headlineEmail.subtitle,
            image: headlineEmail.image,
            button: headlineEmail.button,
            placeholder: headlineEmail.placeholder,
        },
    },
    {
        component: LandingTrialNotice,
        props: {},
    },
    {
        component: LandingCardsFeature,
        props: {
            title: cardsFeature.title,
            subtitle: cardsFeature.subtitle,
            cards: cardsFeature.cards,
        },
    },
    {
        component: LandingReviews,
        props: {},
    },
];
</script>
Was this page helpful?