1.Introduction
- 1.1Tech used
- 1.2Node installation
- 1.3Using npm
- 1.4Some bits about RESTfull
2.Meeting Vue.js
- 2.1jsFiddle
- 2.2Setting up jsFiddle for Vue
- 2.3Hello World, vue
- 2.4Two way data-bind
- 2.5Creating a list
- 2.6Detecting changes to the Array
- 2.6.1Using v-bind:key
- 2.6.2Using set
- 2.6.3How to remove a item
- 2.6.4Object loops
- 2.7Events and methods
- 2.7.1Changing the event propagation
- 2.7.2Keyboard modifiers
- 2.8Reactive design
- 2.9Creating a task list
- 2.10Vue’s life cycle events
- 2.11More about Data-bind
- 2.11.1Single Data-bind
- 2.11.2Data-bind with HTML
- 2.11.3Attribute data-bind
- 2.11.4Expressions
- 2.12Filters
- 2.12.1uppercase
- 2.12.2lowercase
- 2.12.3currency
- 2.12.4pluralize
- 2.12.5json
- 2.13Directives
- 2.13.1Arguments
- 2.13.2Modifiers
- 2.14Directive shortcuts (Shorthands)
- 2.15Changing styles
- 2.16Using the v-if conditional
- 2.17Showing or hiding a code block
- 2.18v-if vs v-show
- 2.19Forms
- 2.19.1Check-box
- 2.19.2Radio
- 2.19.3Select
- 2.19.4Input attributes
- 2.20Conclusion
3.Creating components
- 3.1Vue-cli
- 3.2Creating the first project with vue-cli
- 3.3Executing the project
- 3.4The project structure
- 3.5The packages.json file
- 3.6Components and .vue files
- 3.7Creating a new component
- 3.8Adding properties
- 3.8.1camelCase vs. kebab-case
- 3.8.2Validations and default values
- 3.9Slots and component composing
- 3.9.1Using multiple slots
- 3.10Events and communication between components
- 3.10.1Passing parameters
- 3.11Reorganizing the project
- 3.12Adding styles
- 3.13Changing the Header
- 3.14Changing the Footer
- 3.15Changing the App Content
4.Vue Router
- 4.1Installing the Vue Router
- 4.2Setting up
- 4.3Setting up the router.map
- 4.4Setting up the router-view
- 4.5Creating new components
- 4.6Creating a menu
- 4.6.1Passing parameters on the link
- 4.7Active class
- 4.8Filtering routes by login
5.Vue Resource
- 5.1Testing the Ajax access
- 5.2Request methods
- 5.3Working with resources
6.Creating a blog with Vue, Express and MongoDB
- 6.1Creating the RESTful server
- 6.2The MongoDB database
- 6.3Creating the project
- 6.4Project structure
- 6.5Setting up the MongoDB models.
- 6.6Setting up the Express server
- 6.7Testing the server
- 6.8Testing the API without Vue
7.Implementing the Blog with Vue
- 7.1Setting up the packages.json file
- 7.2Installing Vue and Materialize package
- 7.3Setting up the router and resources
- 7.4Setting up the main app interface
- 7.5Getting Posts
- 7.6Setting up the Vue Validator
- 7.7Logging-in
- 7.8Authentication Token
- 7.9Creating Post
- 7.10Log-out
- 7.11Refactoring the home page
8.Mixins
- 8.1Creating mixins
- 8.2Conflicting
9.Plug-ins
- 9.1Creating a plug-in
10.Next Steps
- 10.1Vuex
- 10.2Vue.js in Twitter
- 10.3Vue Awesome