官术网_书友最值得收藏!

  • Vue.js 3 Cookbook
  • Heitor Ramon Ribeiro
  • 281字
  • 2021-06-11 18:11:54

Introducing TypeScript and the Vue Ecosystem

TypeScript is a new Vue-based language, fully supported on Vue 3. It is now possible to use typed JSX (also know as TSX), type annotation, static verification of the code, and much more. 

The Vue ecosystem is getting bigger each day, so to help us, the Vue team has developed some tools to improve project handling and management. Those tools are Vue CLI and Vue UI, which today are the main tools for local Vue development.

The Vue CLI tool is the beginning of every project; with it, you will be able to select the basic features or just a preset you had made, to create a new Vue project. After a project is created, you can use Vue UI to manage the project, add new features, check the status of the project, and do almost everything you previously needed to do in the command-line interface (CLI), with the addition of more features.

In these chapters, you learn more about TypeScript as a superset on JavaScript and how to use the power of the Vue CLI tool and Vue UI together to get a whole application up and running.

In this chapter, we'll cover the following recipes:

  • Creating a TypeScript project
  • Understanding TypeScript
  • Creating your first TypeScript class
  • Creating your first project with Vue CLI
  • Adding plugins to a Vue CLI project with Vue UI
  • Adding TypeScript to a Vue CLI project
  • Creating your first TypeScript Vue component with vue-class-component
  • Creating a custom mixin with vue-class-component
  • Creating a custom function decorator with vue-class-component
  • Adding custom hooks to vue-class-component
  • Adding vue-property-decorator to vue-class-component
主站蜘蛛池模板: 札达县| 江安县| 梁平县| 信阳市| 丹江口市| 海门市| 衢州市| 江山市| 蕲春县| 祁东县| 无棣县| 芒康县| 庆阳市| 阳西县| 陇南市| 中山市| 乌拉特中旗| 临汾市| 大埔县| 海伦市| 汪清县| 微山县| 江陵县| 瓮安县| 泽库县| 石林| 建德市| 九江县| 利津县| 巢湖市| 文山县| 大理市| 高淳县| 丰镇市| 吴旗县| 建平县| 思茅市| 盘山县| 五家渠市| 姚安县| 乾安县|