Skip to content

Commit ae58db4

Browse files
jong-kyungfengmk2
andauthored
docs(config): align config overview with sidebar (#1846)
The config overview now surfaces every config reference reachable from the sidebar. `create` is alongside the other Vite+ blocks, and the example `vite.config.ts` block follows the same order. Co-authored-by: MK (fengmk2) <fengmk2@gmail.com>
1 parent d4b8b26 commit ae58db4

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

docs/config/index.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ export default defineConfig({
1010
build: {},
1111
preview: {},
1212

13-
test: {},
14-
lint: {},
15-
fmt: {},
13+
create: {},
1614
run: {},
15+
fmt: {},
16+
lint: {},
17+
test: {},
1718
pack: {},
1819
staged: {},
1920
});
@@ -23,9 +24,10 @@ export default defineConfig({
2324

2425
Vite+ extends the basic Vite configuration with these additions:
2526

26-
- [`lint`](/config/lint) for Oxlint
27+
- [`create`](/config/create) for project and template scaffolding defaults
28+
- [`run`](/config/run) for Vite Task
2729
- [`fmt`](/config/fmt) for Oxfmt
30+
- [`lint`](/config/lint) for Oxlint
2831
- [`test`](/config/test) for Vitest
29-
- [`run`](/config/run) for Vite Task
3032
- [`pack`](/config/pack) for tsdown
3133
- [`staged`](/config/staged) for staged-file checks

0 commit comments

Comments
 (0)