diff --git a/README.md b/README.md index 968c5d28..e213a122 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ You can scaffold a new project by running the Fresh init script. To scaffold a project in the `myproject` folder, run the following: ```sh -deno run -A https://fresh.deno.dev my-project +deno run -A -r https://fresh.deno.dev my-project ``` To now start the project, use `deno task`: diff --git a/docs/getting-started/create-a-project.md b/docs/getting-started/create-a-project.md index b780e3bc..c3e2e835 100644 --- a/docs/getting-started/create-a-project.md +++ b/docs/getting-started/create-a-project.md @@ -10,7 +10,7 @@ will scaffold out a new project with some example files to get you started. To create a new project in the directory `"my-project"`, run: ``` -$ deno run -A https://fresh.deno.dev my-project +$ deno run -A -r https://fresh.deno.dev my-project The manifest has been generated for 3 routes and 1 islands. Project created! diff --git a/www/routes/index.tsx b/www/routes/index.tsx index 76358eb9..9fc545a2 100644 --- a/www/routes/index.tsx +++ b/www/routes/index.tsx @@ -171,7 +171,7 @@ function GettingStarted(props: { origin: string }) { Then you can use the Fresh init script to bootstrap a new project:
- {`deno run -A ${props.origin} my-app`}
+ {`deno run -A -r ${props.origin} my-app`}
Enter the newly created project directory and run the following command