Skip to content

Commit 19bbc65

Browse files
committed
fix: rename vueBaseFile to vueBase
1 parent b06bff8 commit 19bbc65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ While using the CLI directly from your terminal is perfectly viable, Nuxtr's int
118118

119119
**Nuxt Snippets**: Enhance your development speed with Nuxt snippets. Simply type `nuxt` for components, `use` for Composables, or begin typing Nuxt utilities and select your desired snippet from the list.
120120

121-
Starting 0.2.10, you can inject a dynamic snippet based on your Nuxtr Vue files configuration with `vueBaseFile` or `vueBaseLayout`.
121+
Starting 0.2.10, you can inject a dynamic snippet based on your Nuxtr Vue files configuration with `vueBase` or `vueBaseLayout`.
122122

123123
Nuxt Snippets are enabled by default. You can toggle them on or off using this setting:
124124

src/snippets/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const vuePageTemplate = languages.registerCompletionItemProvider(
5454
{ language: 'vue' },
5555
{
5656
provideCompletionItems(document: TextDocument, position: Position) {
57-
const completionItem = new CompletionItem('vueBaseFile', CompletionItemKind.Snippet);
57+
const completionItem = new CompletionItem('vueBase', CompletionItemKind.Snippet);
5858
completionItem.detail = 'Generate a Vue page/component template';
5959

6060
const template = generateVueFileBasicTemplate('page');

0 commit comments

Comments
 (0)