From 9f54b56bdea140f6aa474ebf39ed2cd98b3f7c8c Mon Sep 17 00:00:00 2001 From: Bernard Lin Date: Sun, 13 Mar 2022 16:52:38 -0400 Subject: [PATCH] examples: update instructions for create-strapi-app (#35288) Not sure how you want to handle this, but the current instructions aren't compatible with the latest version of strapi and migration steps aren't super clear yet. It does work flawlessly with v3 of Strapi though. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [x] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [X ] Make sure the linting passes by running `yarn lint` --- examples/cms-strapi/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/cms-strapi/README.md b/examples/cms-strapi/README.md index aa9e755f9d1f..6ef231d35274 100644 --- a/examples/cms-strapi/README.md +++ b/examples/cms-strapi/README.md @@ -48,8 +48,8 @@ yarn create next-app --example cms-strapi cms-strapi-app Use the provided [Strapi template Next example](https://github.com/strapi/strapi-template-next-example) to run a pre-configured Strapi project locally. See the [Strapi template docs](https://strapi.io/documentation/developer-docs/latest/setup-deployment-guides/installation/templates.html#templates) for more information ```bash -npx create-strapi-app my-project --template next-example --quickstart -# or: yarn create strapi-app my-project --template next-example --quickstart +npx create-strapi-app@3 my-project --template next-example --quickstart +# or: yarn create strapi-app@3 my-project --template next-example --quickstart npm run develop # or: yarn develop ```