From 62b0077745b99909db7a748249d3b81f64f38db5 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Fri, 18 Nov 2022 10:58:57 +0800 Subject: [PATCH] doc: update vue2.md #122 --- docs/vue2.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/vue2.md b/docs/vue2.md index c21824e..9a45035 100644 --- a/docs/vue2.md +++ b/docs/vue2.md @@ -17,12 +17,14 @@ Vue 是一套用于构建用户界面的渐进式框架 注意:Vue 2.x 版本对应 Vue Router 3.x 路由版本 -#### 快速创建 **Vue** 项目 ([Vue CLI](https://cli.vuejs.org/zh/guide/creating-a-project.html)) +#### 快速创建 **Vue** 项目 ```bash npx @vue/cli create hello-world ``` +参考: [Vue CLI](https://cli.vuejs.org/zh/guide/creating-a-project.html) 创建一个项目 + ### 声明式渲染 ```html @@ -634,7 +636,6 @@ Jane Doe ``` ### v-for/v-if -[v-for和v-if不推荐一起使用](https://v2.cn.vuejs.org/v2/guide/conditional.html) ```html {2,3}