From 9116e2d8058740074db404e1e410ee2a25d37039 Mon Sep 17 00:00:00 2001 From: Phil Hawksworth Date: Thu, 5 Dec 2024 12:21:07 +0000 Subject: [PATCH] Add deno instructions to quick-start (#974) --- src/routes/quick-start.mdx | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/src/routes/quick-start.mdx b/src/routes/quick-start.mdx index 512b24c96..914c01d50 100644 --- a/src/routes/quick-start.mdx +++ b/src/routes/quick-start.mdx @@ -13,7 +13,7 @@ Additionally, we offer a [JavaScript](https://stackblitz.com/github/solidjs/temp - Familiarity with the command line - - Install [Node.js](https://nodejs.org/en) + - Install [Node.js](https://nodejs.org/en) or [Deno](https://deno.com) @@ -48,6 +48,12 @@ pnpm dlx degit solidjs/templates/js my-app bunx degit solidjs/templates/js my-app ``` + +
+```bash frame="none" +deno -A npm:degit solidjs/templates/js my-app +``` +
@@ -83,6 +89,12 @@ pnpm install bun install ``` + +
+```bash frame="none" +deno install +``` +
4. Run the application: @@ -111,6 +123,11 @@ pnpm dev bun dev ``` +
+```bash frame="none" +deno task dev +``` +
This will start the development server. @@ -144,6 +161,11 @@ pnpm dlx degit solidjs/templates/ts my-app bunx degit solidjs/templates/ts my-app ``` +
+```bash frame="none" +deno -A npm:degit solidjs/templates/ts my-app +``` +
2. Navigate to your application's directory: @@ -178,6 +200,11 @@ pnpm install bun install ``` +
+```bash frame="none" +deno install +``` +
4. Run the application: @@ -206,6 +233,11 @@ pnpm dev bun dev ``` +
+```bash frame="none" +deno task dev +``` +