K
K
kroha30002019-11-03 17:18:22
Vue.js
kroha3000, 2019-11-03 17:18:22

How to extract the ID from the address, and render this ID to the screen?

There is a page address, localhost:8080/id334, for example,
determined in the router, id is the name of the page. and 334 is the identifier.
Everything is covered by the rules, the page opens, everything works.
How to render this ID on the page, or output it to a variable. Tell me please.
That is, how to display the NAME, ID on the page

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question