Unverified Commit 9f54b56b authored by Bernard Lin's avatar Bernard Lin Committed by GitHub

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`
parent edce68b4
...@@ -48,8 +48,8 @@ yarn create next-app --example cms-strapi cms-strapi-app ...@@ -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 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 ```bash
npx 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 my-project --template next-example --quickstart # or: yarn create strapi-app@3 my-project --template next-example --quickstart
npm run develop # or: yarn develop npm run develop # or: yarn develop
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment