Create new project
vue create my-project
npm install
npm run serve
npm run build
npm run lint
- Props
- Primitive vs Reference types
- Event (child to parents)
- Events Bus
- Life-cycle hooks
beforeCreate() {
alert("Before create!");
},
created() {
alert("Created!");
},
beforeMount() {
alert("Before Mount");
},
mounted() {
alert("Mounted");
},
beforeUpdate() {
alert("Before update");
},
updated() {
alert("updated");
},
- Slots
- Dynamic components
npm install vue-resouce
-
Custom directives
-
Filters
Filters and custom directive tambien pueden ser locales, es decir en una solo en un componente
-
Mixins
npm install vue-router --save
- Hash vs History
- Routes parameters