diff --git a/README.md b/README.md index ff0daf417c..03a3c37764 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,9 @@ pnpm i pnpm run dev ``` +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. + + ## Working on the content - 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). diff --git a/package.json b/package.json index cc7b6da690..04532a019a 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,7 @@ { + "engines": { + "node": ">=14.0.0" + }, "scripts": { "dev": "vitepress", "build": "vitepress build", diff --git a/src/tutorial/src/step-11/description.md b/src/tutorial/src/step-11/description.md index 6696a9e8be..d2c6b73fff 100644 --- a/src/tutorial/src/step-11/description.md +++ b/src/tutorial/src/step-11/description.md @@ -45,7 +45,7 @@ Then, we can use the component in the template as: