失效链接处理 |
vuejs-cookbook-practical-frontend-typescript PDF 下载
本站整理下载:
相关截图:
主要内容:
Table of Contents
Title Page
Copyright and Credits
Vue.js 3 Cookbook
About Packt
Why subscribe?
Contributors
About the author
About the reviewers
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Conventions used
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Get in touch
Reviews
1. Understanding Vue 3 and Creating Components
What is new in Vue 3
Improvements to the framework
Under the hood
Render engine
Exposed APIs
New custom components
Fragments
Teleport
Suspense
API changes
Some minor break changes
Goodbye filters, hello filters! The Vue filters API
The bus just left the station! The event bus API
No more global Vue – the mounting API
v-model, v-model, v-model – multiple v-model
Composition API
Technical requirements
Creating the base file
Upgrading your Vue 2 application to Vue 3
Getting ready
How to do it...
Using Vue-CLI to upgrade the project
Upgrading the project manually
Changing the starting files
How it works...
Creating components with multiple root elements
How to do it...
Creating the component with the structure
Creating the component with the render function
How it works...
Creating components with attribute inheritance
How to do it...
How it works...
Using the reactivity and observable API outside the scope of Vue
How to do it...
How it works...
Creating a component using the composition API
How to do it...
How it works...
See also
2. Introducing TypeScript and the Vue Ecosystem
Technical requirements
Creating a TypeScript project
Getting ready
How to do it...
How it works...
See also
Understanding TypeScript
Getting ready
Types
String
Number
Boolean
Arrays
Tuple
Enum
Any
Void
Objects
Functions
Interfaces
Decorators
In conclusion
See also
Creating your first TypeScript class
Getting ready
How to do it...
How it works...
There's more...
See also
Creating your first project with Vue CLI
Getting ready
How to do it...
There's more...
See also
Adding plugins to a Vue CLI project with Vue UI
Getting ready
How to do it...
How it works...
Adding TypeScript to a Vue CLI project
Getting ready
How to do it...
How it works...
See also
Creating your first TypeScript Vue component with vue-class-component
Getting ready
How to do it...
How it works...
See also
Creating a custom mixin with vue-class-component
Getting ready
How to do it...
Creating the Counter component
Extracting similar code for the mixin
How it works...
See also
Creating a custom function decorator with vue-class-component
Getting ready
How to do it...
How it works...
There's more...
See also
Adding custom hooks to vue-class-component
Getting ready
How to do it...
How it works...
See also
Adding vue-property-decorator to vue-class-component
Getting ready
How to do it...
How it works...
There's more...
See also
|