What is changed
- Build process
- Dependencies
- Other tools:
- ...
- ...
Current State
const defaultConfig = { | |
a: true, | |
b: false | |
} | |
const overridingConfig = { | |
b: true | |
} | |
const finalConfig = { |
What is changed
Current State
var vm = new Vue({ | |
el: "#example", | |
data: { | |
message: "Hello" | |
}, | |
computed: { | |
// a computed getter | |
reversedMessage: function() { | |
// `this` points to the vm instance | |
return this.message |
{ | |
// ... | |
"scripts": { | |
"start": "node cli.js", | |
"start:debug": "ndb node cli.js", | |
"test": "jest", | |
"test:debug": "ndb jest" | |
} | |
// ... | |
} |
# global install with npm: | |
npm install -g ndb | |
# alternatively, with yarn: | |
yarn global add ndb |
console.log('I am finally here' + variable); |
declare module "iso-3166-1" { | |
declare type CountryName = | |
| "Afghanistan" | |
| "Åland Islands" | |
| "Albania" | |
| "Algeria" | |
| "American Samoa" | |
| "Andorra" | |
| "Angola" | |
| "Anguilla" |
git log --format=format: --name-only | egrep -v '^$' | egrep -v 'yarn.lock|README.md|deploy|package' | sort | uniq -c | sort -r | head -5 |
onSubmit(email, password) { | |
this.$store.dispatch(LOGIN, { email, password }).then(() => { | |
this.$store.dispatch(GET_USER_INFORMATION).then(userInf => { | |
this.$store.dispatch(IS_FEATURE_A_ACTIVE, userInf).then(() => { | |
this.$store.dispatch(IS_FEATURE_B_ACTIVE, userInf).then(() => { | |
this.$router.push({ name: "home" }); | |
}); | |
}); | |
}); | |
}); |
<template> | |
<div class="auth-page"> | |
<!-- ... --> | |
<form v-on:submit.prevent="onSubmit(email, password)"> | |
<fieldset class="form-group"> | |
<input | |
class="form-control form-control-lg" | |
type="text" | |
v-model="email" | |
placeholder="Email" |