diff --git a/package.json b/package.json index cabf4cd6bf..2c9aaceb26 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vuejs.org", "private": true, "hexo": { - "version": "3.7.0" + "version": "3.7.1" }, "scripts": { "start": "hexo server", diff --git a/src/v2/guide/index.md b/src/v2/guide/index.md index b176d13727..9f81c29936 100644 --- a/src/v2/guide/index.md +++ b/src/v2/guide/index.md @@ -12,6 +12,8 @@ If you’d like to learn more about Vue before diving in, we Watch a free video course on Vue Mastery + ## Getting Started

The official guide assumes intermediate level knowledge of HTML, CSS, and JavaScript. If you are totally new to frontend development, it might not be the best idea to jump right into a framework as your first step - grasp the basics then come back! Prior experience with other frameworks helps, but is not required.

@@ -395,4 +397,4 @@ You may have noticed that Vue components are very similar to **Custom Elements** We've briefly introduced the most basic features of Vue.js core - the rest of this guide will cover them and other advanced features with much finer details, so make sure to read through it all! - + diff --git a/src/v2/guide/installation.md b/src/v2/guide/installation.md index 94fbf778aa..d0f344adec 100644 --- a/src/v2/guide/installation.md +++ b/src/v2/guide/installation.md @@ -62,6 +62,8 @@ Vue provides an [official CLI](https://github.com/vuejs/vue-cli) for quickly sca

The CLI assumes prior knowledge of Node.js and the associated build tools. If you are new to Vue or front-end build tools, we strongly suggest going through the guide without any build tools before using the CLI.

+
Watch a video explanation on Vue Mastery
+ ## Explanation of Different Builds In the [`dist/` directory of the NPM package](https://cdn.jsdelivr.net/npm/vue/dist/) you will find many different builds of Vue.js. Here's an overview of the difference between them: diff --git a/src/v2/guide/reactivity.md b/src/v2/guide/reactivity.md index c6e53acd19..a0e35694f4 100644 --- a/src/v2/guide/reactivity.md +++ b/src/v2/guide/reactivity.md @@ -6,6 +6,8 @@ order: 601 Now it's time to take a deep dive! One of Vue's most distinct features is the unobtrusive reactivity system. Models are just plain JavaScript objects. When you modify them, the view updates. It makes state management simple and intuitive, but it's also important to understand how it works to avoid some common gotchas. In this section, we are going to dig into some of the lower-level details of Vue's reactivity system. +
Watch a video explanation on Vue Mastery
+ ## How Changes Are Tracked When you pass a plain JavaScript object to a Vue instance as its `data` option, Vue will walk through all of its properties and convert them to [getter/setters](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_Objects#Defining_getters_and_setters) using [Object.defineProperty](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty). This is an ES5-only and un-shimmable feature, which is why Vue doesn't support IE8 and below. diff --git a/src/v2/guide/state-management.md b/src/v2/guide/state-management.md index 291becba51..a566eaedbb 100644 --- a/src/v2/guide/state-management.md +++ b/src/v2/guide/state-management.md @@ -8,6 +8,8 @@ order: 502 Large applications can often grow in complexity, due to multiple pieces of state scattered across many components and the interactions between them. To solve this problem, Vue offers [vuex](https://github.com/vuejs/vuex): our own Elm-inspired state management library. It even integrates into [vue-devtools](https://github.com/vuejs/vue-devtools), providing zero-setup access to [time travel debugging](https://raw.githubusercontent.com/vuejs/vue-devtools/master/media/demo.gif). +
Watch a video explanation on Vue Mastery
+ ### Information for React Developers If you're coming from React, you may be wondering how vuex compares to [redux](https://github.com/reactjs/redux), the most popular Flux implementation in that ecosystem. Redux is actually view-layer agnostic, so it can easily be used with Vue via [simple bindings](https://yarnpkg.com/en/packages?q=redux%20vue&p=1). Vuex is different in that it _knows_ it's in a Vue app. This allows it to better integrate with Vue, offering a more intuitive API and improved development experience. diff --git a/themes/vue/layout/index.ejs b/themes/vue/layout/index.ejs index 608882772e..10eed9f2ca 100644 --- a/themes/vue/layout/index.ejs +++ b/themes/vue/layout/index.ejs @@ -118,7 +118,10 @@