Страница с полной новостью
This commit is contained in:
1 parent
2a475f3c65
commit
1878b19462
2 files changed
+28
-1
No files matched your search
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
|
||||
<div>{{route.query['id']}}</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { useRoute } from 'vue-router'
|
||||
|
||||
export default {
|
||||
|
||||
setup(){
|
||||
|
||||
const route = useRoute()
|
||||
|
||||
return {
|
||||
|
||||
route
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
@@ -100,7 +100,7 @@ const routes = [
|
||||
{
|
||||
path: '/newsfull',
|
||||
name: 'FullNewsPage',
|
||||
component: () => import('@/components/news-list-news.vue'),
|
||||
component: () => import('@/components/news-full.vue'),
|
||||
meta:{
|
||||
title:"Одна новость",
|
||||
ico: "mdi-newspaper"
|
||||
|
||||
Reference in new issue
Block a user