This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<input type="text" v-model="userInput" @change="submit()"> | |
</div> | |
</template> | |
<script> | |
data() { | |
return { | |
userInput: "", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function logOne() { | |
return new Promise((res) => { | |
setTimeout(() => { | |
console.log('one'); | |
res(); | |
}, Math.random() * 2000) | |
}) | |
} | |
function logTwo() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git remote add staging https://git.heroku.com/staging-app.git | |
$ git remote add heroku https://git.heroku.com/app.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Include stylesheet --> | |
<link href="https://cdn.quilljs.com/1.3.4/quill.snow.css" rel="stylesheet"> | |
<!-- Create the editor container --> | |
<div id="editor"> | |
<p>Hello World!</p> | |
<p>Some initial <strong>bold</strong> text</p> | |
<p><br></p> | |
</div> |