Skip to content

Commit 58db407

Browse files
authored
chore: typos in SSR and auto-imports documentation (#34)
1 parent a6fee6b commit 58db407

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/nuxt-mcp/src/prompts/basic.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This nuxt project is configured with following structure:
2121
lines.push(`
2222
## SSR
2323
24-
This is a Nuxt 3 application with SSR enabled. Components should be isomorphic and can be executed on both server or client side.
24+
This is a Nuxt 3 application with SSR enabled. Components should be isomorphic and can be executed on both the server and client sides.
2525
2626
In scenarios where you need different logic for server and client, use \`import.meta.client\` and \`import.meta.server\`
2727
to branch the code, and use dynamic imports if needed.
@@ -39,7 +39,7 @@ This is a Nuxt 3 application with SSR disabled. While components are primarily r
3939
lines.push(`
4040
## Auto-imports
4141
42-
This Nuxt project is configured have auto-imports enabled.
42+
This Nuxt project is configured to have auto-imports enabled.
4343
4444
For example, Vue apis (ref, computed, watch, etc.) are auto-imported, so you can directly use them in your code without import statements.
4545
@@ -50,15 +50,15 @@ You can find the full auto-import items with tool \`list-nuxt-auto-imports-items
5050
lines.push(`
5151
## No auto-imports
5252
53-
This Nuxt project is configured have auto-imports disabled.
53+
This Nuxt project is configured to have auto-imports disabled.
5454
5555
You can still reference the registered entries with tool \`list-nuxt-auto-imports-items\`.
5656
But you need to always manually import the usages when modifying the code, either directly import the item from their source,
5757
or use explicit \`import { xxx } from '#imports'\` to import any items from the registry.
5858
`)
5959
}
6060

61-
// Referene prompts from https://github.com/antfu/nuxt-mcp/issues/2 by @DannyVogel
61+
// reference prompts from https://github.com/antfu/nuxt-mcp/issues/2 by @DannyVogel
6262
// lines.push(`
6363
// - This is a Nuxt 3 application using the Composition API with <script setup> syntax.
6464
// - Leverage Nuxt 3's auto-imports system:

0 commit comments

Comments
 (0)