![]() ![]() If you’re using community plugins, they might not be upgraded yet. Note, this only applies to plugins managed in the gatsbyjs/gatsby repository. You should upgrade any package name that starts with gatsby-*. Update your package.json to use the latest version of Gatsby related packages. For example, the above command would be: Update Gatsby related packages Please note: If you use npm 7 you’ll want to use the -legacy-peer-deps option when following the instructions in this guide. You need to update your package.json to use the latest version of Gatsby. Table of Contentsįirst, you need to update your dependencies. If you want to start a new Gatsby v3 site, run npm init gatsby or yarn create gatsby in your terminal. If you’re curious what’s new, head over to the v3.0 release notes. Since the last major release was in September 2018, Gatsby v3 includes a couple of breaking changes. This is a reference for upgrading your site from Gatsby v2 to Gatsby v3. Have you run into something that’s not covered here? Add your changes to GitHub! Introduction
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |