Getting to Know Vue.js : learn to build single page applications in Vue from scratch /
Learn how to render lists of items without repeating your code structure and how to work with conditional rendering items and event handling. Containing all you need to know to get started with Vue.js, this book will take you through using build tools (transpile to ES5), creating custom components,...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[Berkeley] :
Apress,
2018.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Intro; Table of Contents; About the Author; About the Technical Reviewer; Chapter 1: Why Vue.js?; The Value of Vue.js; Our First Vue.js Instance; Developer Tools; Browser Dev Tools; Browsersync; Summary; Chapter 2: The Basics; Vue Options; El; Template; Render; Data; Methods; Computed Properties; Template Binding; Summary; Chapter 3: Conditional Rendering; v-show; v-if v-else v-else-if; v-if; v-else; v-else-if; Lists; Basics; Accessing Object Properties; Index and Parent Properties; Dealing with Change; Objects; Summary; Chapter 4: Computer Properties and Watchers; Computed Properties.
- WatchersNew and Old Values; Deep; Immediate; Summary; Chapter 5: Events; Listeners; Handlers; Methods; Inline Method; Modifiers; Using a Modifier; Chain Modifiers; Input; Summary; Chapter 6: Bindings; Forms; v-model; Inputs; Text; Number; Date; Password; Check Boxes; Groups of Check Boxes; Radio Buttons; Preset Radio Buttons; Radio Buttons: Dynamic Options; File; Hidden; Textarea Elements; Select; Multiple Selects; Modifiers; Lazy; Number; Trim; Styling; Inline Styles; Style Objects; Classes; One Class; Multiple Classes; Multiple Classes with Arrays; Computed Classes; Summary.
- Chapter 7: State ManagementSimple Data Objects; DIY Data Store; Vuex; Install; CDN or Self Hosted; NPM and Yarn; Promise; Options; State; Getters; Mutations; Actions; Modules; Basics; Accessing RootState; Namespace; Summary; Chapter 8: Using Components; What Is a Component?; First Component; Using Data; Passing Data with Props; Events; Slots; Registration; Summary; Chapter 9: Reusable Code; Mixins; Creating Mixins; Using Mixins; Using Multiple Mixins; Custom Directives; Creating a Directive; Using the Directive; Passing a Value; Passing an Object as a Value; Using Modifiers; Render Function.
- Render versus TemplatecreateElement; Parameter One; Parameter Two; Parameter Three; Summary; Chapter 10: Custom Functionality; Plugins; Creating a Plugin; Using a Plugin; Using Options; Registering a Global Mixin with a Plugin; Registering Global Components with a Plugin; Filters; Creating and Using a Filter; Creating a Global Filter; Chaining Filters; Arguments; Summary; Chapter 11: Tooling; Single File Components; SFC Structure; Syntax Highlighting; Command-Line Interface; Prerequisites; Installing Vue CLI; Vue Create; Vue Serve; Project Structure; Project Root; The src Folder; App.vue.
- Title.vueRebuild and Serve; Vue Build; The CLI User Interface; Summary; Chapter 12: Using Routers; DIY Router; Setting Up the DIY Router; Vue-Router; Setting Up Vue-Router; Passing Parameters; Route Parameters; Passing Parameter Objects; Navigating from JavaScript; Redirects; Aliases; The Page.js Router; Summary; Index.