Answers for "How to set data into nuxt.js nuxt-link?"

0

How to set data into nuxt.js nuxt-link?

<!-- named route -->
<nuxt-link :to="{ name: 'user', params: { userId: 123 }}">User</nuxt-link>

<!-- with query, resulting in `/register?plan=private` -->
<nuxt-link :to="{ path: 'register', query: { plan: 'private' }}">Register</nuxt-link>
Posted by: Guest on September-16-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language