Answer the question
In order to leave comments, you need to log in
How to store "minor" component data?
Hello!
There is a Nuxt.js page component:
<template>
<div class="page">
<Intro
:title="Page Title"
:description="Page Description" />
<PageSection
title="My Skills">
<SkillCard
v-for="skill in portfolio.skills"
:key="skill.id"
:skill="skill" />
</PageSection>
<PageSection
title="Last Jobs">
<JobCard
v-for="job in portfolio.lastJobs"
:key="job.id"
:job="job" />
</PageSection>
</div>
</template>
Answer the question
In order to leave comments, you need to log in
I didn’t work with Nuxt.js and I don’t really know how it is with the router either, but in pure Vue all this can be added to the meta for each route. And getting already through $route.meta.title
on the page.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question