Keep in mind that this implementation requires an api for fetching data, and assumes the following response schema:
{
"perPageOptions": [
15, 50, 100
],
"actions": [
"Delete all", "Publish All", "Unpublish All"
],
{ | |
"recommendations": [ | |
"aaron-bond.better-comments", | |
"adrieankhisbe.vscode-ndjson", | |
"johnsoncodehk.vscode-tsconfig-helper", | |
"rbuckton.deoptexplorer-vscode", | |
"helixquar.randomeverything", | |
"WallabyJs.quokka-vscode", | |
"bierner.comment-tagged-templates", | |
"alexcvzz.vscode-sqlite", |
Keep in mind that this implementation requires an api for fetching data, and assumes the following response schema:
{
"perPageOptions": [
15, 50, 100
],
"actions": [
"Delete all", "Publish All", "Unpublish All"
],
export const isSameURL = (a, b) => a.split('?')[0] === b.split('?')[0] | |
export const isRelativeURL = u => | |
u && u.length && /^\/[a-zA-Z0-9@\-%_~][/a-zA-Z0-9@\-%_~]*[?]?([^#]*)#?([^#]*)$/.test(u) | |
export default function ({ app }) { | |
const redirect = function (name, noRouter = false) { | |
if (!this.options.redirect) { | |
return | |
} |
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
Handy helpers for controlling visibility of elements until Vue has compiled.
Use like:
<div v-cloak>
<h1>
<span class="v-cloak--inline">Loading...</span> <!-- Only displayed before compiling -->
<span class="v-cloak--hidden">{{ post.title }}</span> <!-- Hidden until compiling is finished -->