Skip to content
Snippets Groups Projects
Commit 4c09ebdd authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

link til underartikkel som router-link

parent ddfe7d3a
No related branches found
No related tags found
No related merge requests found
<template>
<li class="sub_article">
<span class="sub_article_header"><a :href="body.article_id">{{body.lemmas[0]}}</a></span>
<span class="sub_article_header">
<router-link :to="body.article_id" @click.native="article_link_click(body)">
{{body.lemmas[0]}}
</router-link>
</span>
<ul>
<DefElement :body="body.intro" v-if="body.intro" @article-click="article_link_click" />
<Definition :body="body.article.body.definitions[0]" @article-click="article_link_click" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment