Skip to content

Commit 574a371

Browse files
committed
Update README and package.json
Update them according to the result
1 parent cb92b49 commit 574a371

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ pnpm i
1111
pnpm run dev
1212
```
1313

14+
This project requires Node.js to be `v14.0.0` or higher, because we use new JavaScript features in our code, such as optional chaining.
15+
16+
1417
## Working on the content
1518

1619
- See VitePress docs on supported [Markdown Extensions](https://vitepress.vuejs.org/guide/markdown.html) and the ability to [use Vue syntax inside markdown](https://vitepress.vuejs.org/guide/using-vue.html).
@@ -20,7 +23,3 @@ pnpm run dev
2023
## Working on the theme
2124

2225
If changes need to made for the theme, check out the [instructions for developing the theme alongside the docs](https://github.com/vuejs/vue-theme#developing-with-real-content).
23-
24-
## Node.js Version Requirement
25-
26-
This project uses JavaScript's new features like optional chaining, so it is recommended to use `v14.0.0` or higher.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"engines": {
3+
"node": ">=14.0.0"
4+
},
25
"scripts": {
36
"dev": "vitepress",
47
"build": "vitepress build",

0 commit comments

Comments
 (0)