Skip to content

Commit fc79f8c

Browse files
authored
Update guide.mdx
Make explicit the fact that when cloning your template, you can create your own Wrangler file to make your project compatible with Cloudflare as a template. I am making this edit because I was confused when reading the docs as to how to make take my NodeJS project and turn it into a worker without going through the fresh intall to learn what config files I need.
1 parent 1083cf4 commit fc79f8c

File tree

1 file changed

+2
-2
lines changed
  • src/content/docs/workers/get-started

1 file changed

+2
-2
lines changed

src/content/docs/workers/get-started/guide.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ npm create cloudflare@latest -- --template <SOURCE>
7575
- `bitbucket:user/repo` (Bitbucket)
7676
- `gitlab:user/repo` (GitLab)
7777

78-
At a minimum, template folders must contain the following:
78+
It's likely that you have an existing project that isn't configured as a Cloudflare template. Before your project can qualify as a valid template, the folder must contain the following files at least:
7979

8080
- `package.json`
81-
- `wrangler.toml`
81+
- `wrangler.toml` [See this](/workers/wrangler/configuration/#sample-wranglertoml-configuration) for an example of a Wrangler configuration file
8282
- `src/` containing a worker script referenced from `wrangler.toml`
8383

8484
</Details>

0 commit comments

Comments
 (0)