Now we'll round off our study of Vue by giving you a list of resources that you can use to go further in your learning, plus some other useful tips.
|Objective:||To learn where to go to find further information on Vue, to continue your learning.|
这里可以学到更多 Vue 知识：
- Vue Docs — The main Vue site. Contains comprehensive documentation, including examples, cookbooks, and reference material. This is the best place to start learning Vue in depth.
- Vue Github Repo — The Vue code itself. This is where you can report issues and/or contribute directly to the Vue codebase. Studying the Vue source code can help you better understand how the framework works, and write better code.
- Vue Forum — 获取帮助的 Vue 官方论坛。
- Vue CLI Docs — Documentation for the Vue CLI. This contains information on customizing and extending the output you are generating via the CLI.
- NuxtJS — NuxtJS is a Server-Side Vue Framework, with some architectural opinions that can be useful to creating maintainable applications, even if you don’t use any of the Server Side Rendering features it provides. This site provides detailed documentation on using NuxtJS.
- Vue Mastery — 一个 Vue 学习平台，也包含一些免费课程。
- Vue School — 有一个 Vue 付费学习平台。
Vue CLI 也提供给我们的 app 准备发布到网络上的工具 .你可以这样做：
- 如果你的本地服务仍然正在运行，在控制台按下 Ctrl+C 停止它。
npm run build(或者
yarn build) .
dist 文件夹来包含你的准备生产的所有文件内容 .为了发布你的网站到网上 , 复制这个文件夹的所有内容到你的主机环境。
备注： The Vue CLI 文档也包含一个特别的指导来发布你的 app 到许多的公共主机平台 .
Vue 3 is a major release of the framework with a lot of major changes. It went into active beta in April, 2020. The biggest change is a new Composition API that works as an alternative to the current property-based API. In this new API, a single
setup() function is used on the component. Only what you return from this function is available in your
<template>s. You are required to be explicit about "reactive" properties when using this API. Vue handles this for you using the Options API. This makes the new API typically considered a more advanced use case.
There are also a handful of other changes, including a change in how Apps are initialized in Vue. To read more about the changes involved with Vue 3, refer to this article by Vue School which goes over most of the major changes in Vue 3.
- Framework main features
- 开始使用 Svelte (en-US)
- Starting our Svelte Todo list app (en-US)
- Dynamic behavior in Svelte: working with variables and props (en-US)
- Componentizing our Svelte app (en-US)
- Advanced Svelte: Reactivity, lifecycle, accessibility (en-US)
- Working with Svelte stores (en-US)
- Svelte 中的 TypeScript 支持 (en-US)
- Deployment and next steps (en-US)