From 434620def72754d060a2587de911d2c7df3fc477 Mon Sep 17 00:00:00 2001 From: Nick Wesselman Date: Tue, 30 Mar 2021 14:19:42 -0400 Subject: [PATCH] Next.js create param info for dotnet new template --- .../getting-started-nextjs/walkthrough-dotnetnew/en.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/data/routes/docs/nextjs/getting-started-nextjs/walkthrough-dotnetnew/en.md b/docs/data/routes/docs/nextjs/getting-started-nextjs/walkthrough-dotnetnew/en.md index 2cfd61c7ed..115ac5b007 100644 --- a/docs/data/routes/docs/nextjs/getting-started-nextjs/walkthrough-dotnetnew/en.md +++ b/docs/data/routes/docs/nextjs/getting-started-nextjs/walkthrough-dotnetnew/en.md @@ -1,7 +1,7 @@ --- name: walkthrough-dotnetnew routeTemplate: ./data/component-templates/article.yml -title: Walkthrough with `dotnet new` +title: Walkthrough with 'dotnet new' --- # Walkthrough: Using the Sitecore Container Starter Template for JSS Next.js Projects @@ -112,6 +112,12 @@ To create the `MyProject` solution: dotnet new sitecore.nextjs.gettingstarted -n MyProject ``` + > You can customize the parameters passed into the `jss create` command by this template via the `--JSSCreateParams` parameter, e.g. + > ``` + > dotnet new sitecore.nextjs.gettingstarted -n MyProject --JSSCreateParams "--fetchWith GraphQL --prerender SSR" + > ``` + > For more information on `jss create` parameters see [the JSS CLI reference](/docs/fundamentals/cli). + 5. Go to the `MyProject` folder. 6. To prepare the the Sitecore container environment, use the provided `init.ps1` script: