E
E
Erl2020-10-01 17:35:08
Vue.js
Erl, 2020-10-01 17:35:08

How can c pass its parameter?

yes <router-link :to="url">URL</router-link>
It turns out that I get an article by link, but how can I pass the ID of this article in this link in order to make a selection from the database by ID?
it just turns out that in graphql I get an array if I filter by URL, but with the help of ID I can specifically request 1 article

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2020-10-01
@yarkov Vue.js

site.ru/articles?articleId=123

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question