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
Copy file name to clipboardExpand all lines: README.md
+54-3Lines changed: 54 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,20 @@
22
22
23
23
Custom Template Generator is a VS Code extension designed to streamline your development process by automating the creation of repetitive file structures. It's particularly useful for developers who frequently create components or modules with a consistent file structure.
24
24
25
+
It includes common Next.js file types (such as page, layout, template, error, not-found, route, global-error, middleware, etc.) to accelerate Next.js application development.
26
+
27
+
## Table of Contents
28
+
29
+
-[Introduction](#introduction)
30
+
-[Use Case Example](#use-case-example)
31
+
-[Features](#features)
32
+
-[Installation](#installation)
33
+
-[Usage](#usage)
34
+
-[1. Using Next.js Templates (Currently only supports App Router)](#1-using-nextjs-templates-currently-only-supports-app-router)
35
+
-[2. Using Custom Templates](#2-using-custom-templates)
Imagine you're developing a React application and often need to create new components. Each component typically requires:
@@ -38,10 +52,13 @@ Avatar/
38
52
└── Avatar.tsx
39
53
```
40
54
55
+
Manually creating this structure for each new component can be time-consuming. This extension allows you to create a template for this structure and generate it with just a few clicks, saving valuable development time.
56
+
41
57
## Features
42
58
43
59
- Quickly create custom file and folder structures
44
60
- Configure and manage reusable templates
61
+
- Built-in Next.js templates (more frameworks will be supported in the future)
45
62
- Support for placeholders in file names and contents
46
63
47
64
## Installation
@@ -53,14 +70,48 @@ Avatar/
53
70
54
71
## Usage
55
72
56
-
### 1. Configuring Templates
73
+
### 1. Using Next.js Templates (Currently only supports App Router)
0 commit comments