The following will need to be known / obtained before getting started:
- Node.js and npm
- command-line (cli) / terminal
- Heroku account
- Heroku CLI installed and setup with your Heroku account
// ES7, async/await | |
function sleep(ms = 0) { | |
return new Promise(r => setTimeout(r, ms)); | |
} | |
(async () => { | |
console.log('a'); | |
await sleep(1000); | |
console.log('b'); | |
})() |
# Use envFrom to load Secrets and ConfigMaps into environment variables | |
apiVersion: apps/v1beta2 | |
kind: Deployment | |
metadata: | |
name: mans-not-hot | |
labels: | |
app: mans-not-hot | |
spec: | |
replicas: 1 |
The following will need to be known / obtained before getting started:
// This file is the custom.ts | |
import { h } from "vue"; | |
import type { IconSet, IconAliases, IconProps } from "vuetify"; | |
// Custom icon component create | |
// I am extending the Icon module created by Atinus -> https://github.com/nuxt-modules/icon | |
import MIcon from "~~/components/MIcon.vue"; | |
/** | |
* Code for the icon component looks like this | |
* |