You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -128,29 +130,45 @@ You can customize **VueJS File Generator** by modifying its settings in `.vscode
128
130
- `vuejs.generator.templates.customComponents`: Define custom component templates. Each template should include a `name`, `description`, `type`, and `template`.
129
131
- `vuejs.generator.project.author`: Set the author name for the project.
130
132
- `vuejs.generator.project.owner`: Set the owner name for the project.
131
-
- `vuejs.generator.project.maintainer`: Set the maintainer name for the project.
133
+
- `vuejs.generator.project.maintainers`: Set the maintainers name for the project.
134
+
- `vuejs.generator.project.license`: Set the license for the project.
135
+
- `vuejs.generator.project.version`: Set the version for the project.
132
136
133
137
The following variables can be used in the template:
134
138
135
-
| Variable | Description |
136
-
|-------------------------|-------------|
137
-
| `fileName` | The unmodified file name. Example: `"MyComponent"` |
138
-
| `fileNameWithExt` | The file name with its extension. Example: `"MyComponent.vue"` |
139
-
| `fileExt` | The file extension. Example: `"vue"` |
140
-
| `fileNameCamelCase` | The file name in **camelCase**. Example: `"myComponent"` |
141
-
| `fileNamePascalCase` | The file name in **PascalCase** (used for class and component names). Example: `"MyComponent"` |
142
-
| `fileNameKebabCase` | The file name in **kebab-case** (commonly used for filenames and CSS classes). Example: `"my-component"` |
143
-
| `fileNameSnakeCase` | The file name in **snake_case**. Example: `"my_component"` |
144
-
| `fileNameConstantCase` | The file name in **CONSTANT_CASE** (used for constants in JavaScript/TypeScript). Example: `"MY_COMPONENT"` |
145
-
| `fileNameDotCase` | The file name in **dot.case** (used in namespaces). Example: `"my.component"` |
146
-
| `fileNamePathCase` | The file name in **path/case** (similar to file paths). Example: `"my/component"` |
147
-
| `fileNameSentenceCase` | The file name in **Sentence case** (capitalizing only the first word). Example: `"My component"` |
148
-
| `fileNameLowerCase` | The file name in **lowercase**. Example: `"my component"` |
149
-
| `fileNameTitleCase` | The file name in **Title Case** (capitalizing each word). Example: `"My Component"` |
150
-
| `date` | The current date in `YYYY-MM-DD` format. Example: `"2025年01月28日"` |
151
-
| `author` | The author set in `project.author`. Example: `"Manuel Gil"` |
152
-
| `owner` | The owner set in `project.owner`. Example: `"Vue JS Colombia"` |
153
-
| `maintainer` | The maintainers set in `project.maintainer`. Example: `"VueJS Team"` |
0 commit comments