I wanted to use the same component for both /signup
and /signin
route.
The reason is because the component looks something like this pen, and I would like when the use clicks signin or signup, the url changes to /signin
and /signup
accordingly, with the transition animation.
How can I do this with nuxt? It would be awesome to achieve this without the router-module, am I missing something?
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2341">#c2341</a>)</em></sub></div>