`keepDefaultRouter ` Not working with Nuxt 2.x after they refactored everything

gapipro
0
gapipro
commented 8 months ago

Version

v1.1.0

Reproduction link

https://jsfiddle.net/

Steps to reproduce

  1. Have a nuxt 2.x project
  2. install router-module and enable keepDefaultRouter option
  3. try to run app
  4. error: Cannot find module 'nuxt/lib/app/router'

What is expected ?

App should start up normally.

What is actually happening?

Error: Cannot find module 'nuxt/lib/app/router'

bug
0
ricardogobbosouza
848
ricardogobbosouza
commented 7 months ago

@gapipro this is fixed for next version that will be released soon

0
ricardogobbosouza
848
ricardogobbosouza
commented 7 months ago

@gapipro fixed on version ^1.2.0, please upgrade!

0
Informations
Bug Report โ€ข Open
#c30 - Created 8 months ago