Skip to content

Instantly share code, notes, and snippets.

View raynoppe's full-sized avatar

Ray Noppe raynoppe

View GitHub Profile
@raynoppe
raynoppe / vuerouter.js
Last active June 30, 2020 15:11
Vue Code
// router
this.$router.push({ name: 'analytics' });
this.$router.push({ path: '/path' });
const currentroute = this.$router.currentRoute;
const currentroute = this.$router.currentRoute.path;
@click="(var) ? var=false:var=true"
<template v-html="html_text"></template>