K
K
kal1br2021-08-02 17:16:42
Vue.js
kal1br, 2021-08-02 17:16:42

Where can I catch the moment of transition to Nuxt js pages before ssr?

Need to process all links with a specific GET parameter on every hit and send a request to the api, while doing this before any other requests that are sent by the application, where can I implement such logic in Nuxt?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Anton, 2021-08-02
@kal1br

Make a plugin in which to hang a handler on the router event

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question