1

I created a nuxt project, but I get a lot of warnings, which you can read about here:

Nuxt js - Fresh install of nuxt 2.14.6 contains babel "loose option" warnings

And now I want to create a project not with the latest version, but with the previous version 2.15.2

How can i do this?

kissu
  • 40,416
  • 14
  • 65
  • 133
KAVA
  • 197
  • 1
  • 4
  • 16
  • But that's just a warning and You can mutate it by the fixes that people posted in the link You've added. Nothing wrong with the newest Nuxt, it's not the problem. Better keep up to date. :) – devzom Aug 10 '21 at 07:32

1 Answers1

2

There are some security concerns with the previous versions, you better remove those warnings and keep an up to date version.
Here is how to fix those warning: Latest Nuxt v2.15.7 install with babel "loose" option warnings

Otherwise, if you want to use an older version of Nuxt, you could edit the package.json, set it like "nuxt": "2.15.2", and run yarn again (or npm i if using NPM).

kissu
  • 40,416
  • 14
  • 65
  • 133