更新时间:2021-06-24 18:33:47
coverpage
Title Page
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewer
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
Download the color images
Conventions used
Get in touch
Reviews
Vue.js Principles and Comparisons
Prerequisites
Windows
Mac
Installing Node via Homebrew
Editor
Browser
Installing the Vue devtools
Vue CLI
How Vue.js compares
React
Angular
Mobile development
Server-Side Rendering (SSR)
Conclusion
Summary
Proper Creation of Vue Projects
Visual Studio Code extensions
Vetur
Vue 2 Snippets
JavaScript modules
Vue-loader
Loading modules without Webpack
VueJS devtools
TypeScript and Vue
Lifecycle hooks
Properties
Computed
RxJS and Vue
What is RxJS?
Integrating with Vue
Proxying
How 'this' works within JavaScript
How Vue handles 'this'
Data properties
Computed properties
Watched properties
Vue.js and the Virtual DOM
DOM
Virtual DOM
Writing Clean and Lean Code with Vue
Vue.js Directives
Model
Iteration with v-for
Bindings
Adding secondary properties
Style bindings
DOM events and v-on
Key modifiers
Event modifiers
Conditionally showing DOM elements
v-show
v-if
v-else
v-else-if
Filters
Locally registered filters
Globally registered filters
Secured Communication with Vue.js Components
Your first Vue component
Registering components globally
Scoped styles
Registering a component locally
Component communication
Configuring property values
Custom events