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?

4

1 回答 1

1

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).

于 2021-08-09T07:19:21.257 回答