docs: use -r in setup command
This commit is contained in:
@@ -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`:
|
||||
|
||||
@@ -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!
|
||||
|
||||
@@ -171,7 +171,7 @@ function GettingStarted(props: { origin: string }) {
|
||||
Then you can use the Fresh init script to bootstrap a new project:
|
||||
</p>
|
||||
<pre class={tw`overflow-x-auto py-2 px-4 bg(gray-100)`}>
|
||||
{`deno run -A ${props.origin} my-app`}
|
||||
{`deno run -A -r ${props.origin} my-app`}
|
||||
</pre>
|
||||
<p class={tw`text-gray-600`}>
|
||||
Enter the newly created project directory and run the following command
|
||||
|
||||
Reference in New Issue
Block a user