diff --git a/src/guide/migration/introduction.md b/src/guide/migration/introduction.md index f2b50b9e..2619904f 100644 --- a/src/guide/migration/introduction.md +++ b/src/guide/migration/introduction.md @@ -1,78 +1,190 @@ -# Introduction +# はじめに -> There's so much here! Does that mean 3.0 is completely different, I'll have to learn the basics all over again, and migrating will be practically impossible? +::: info +Vue.js を使うのは初めてですか? [エッセンシャルガイド](/guide/introduction.html) を参考に使い始めてみてください。 +::: -We're glad you asked! The answer is no. We've gone to great lengths to ensure most of the API is the same and the core concepts haven't changed. It's long because we like to offer very detailed explanations and include a lot of examples. Rest assured, **this is not something you have to read from top to bottom!** +このガイドは主に、Vue 3 の新機能と変更点について学びたい Vue 2 の経験があるユーザーを対象としています。 **Vue 3 を試す前にこのガイドを上から下まで読む必要はありません。** 多くの変更があったように見えますが、Vue についてあなたが知っていて愛していることの多くは同じままです。 しかし、私たちは可能な限り徹底し、文書化されたすべての変更について詳細な説明と例を提供したいと考えました。 -Possibly the biggest change is our new [Composition API](/guide/composition-api-introduction.html), which is entirely additive- the previous Options API will continue to be supported, as the Composition API is an advanced feature. +- [クイックスタート](#クイックスタート) +- [注目すべき新機能](#注目すべき新機能) +- [破壊的変更](#破壊的変更) +- [サポートライブラリ](#サポートライブラリ) -## Overview +## 概要
-Start learning Vue 3 at [Vue Mastery](https://www.vuemastery.com/courses-path/vue3). +[Vue Mastery](https://www.vuemastery.com/courses-path/vue3) で Vue 3 を学び始める。 -### New Features +## クイックスタート -Some of the new features to keep an eye on in Vue 3 include: +- CDN 経由: `` +- [Codepen](https://codepen.io/yyx990803/pen/OJNoaZL) 上のブラウザ内プレイグラウンド +- [CodeSandbox](https://v3.vue.new) 上のブラウザ内サンドボックス +- [Vite](https://github.com/vitejs/vite) を使った Scaffold: + + ```bash + npm init vite-app hello-vue3 # OR yarn create vite-app hello-vue3 + ``` + +- [vue-cli](https://cli.vuejs.org/) を使った Scaffold: + + ```bash + npm install -g @vue/cli # OR yarn global add @vue/cli + vue create hello-vue3 + # select vue 3 preset + ``` + +## 注目すべき新機能 + +Vue 3 で注目すべきいくつかの新機能の次のとおりです。 - [Composition API](/guide/composition-api-introduction.html) - [Teleport](/guide/teleport.html) - [Fragments](/guide/migration/fragments.html) - [Emits Component Option](/guide/component-custom-events.html) -- `createRenderer` API from `@vue/runtime-core` to create custom renderers - -### Breaking - -The following consists a list of breaking changes from 2.x: - -- [Global Vue API is changed to use an application instance](/guide/migration/global-api.html) -- [Global and internal APIs have been restructured to be tree-shakable](/guide/migration/global-api-treeshaking.html) -- [`model` component option and `v-bind`'s `sync` modifier are removed in favor of `v-model` arguments](/guide/migration/v-model.html) -- [Render function API changed](/guide/migration/render-function-api.html) -- [Functional components can only be created using a plain function](/guide/migration/functional-components.html) -- [`functional` attribute on single-file component (SFC) `