Use the bitwise OR operator ( | ) to set a bit.
number |= 1 << x;
<template> | |
<div id="app"> | |
<img src="./assets/logo.png"> | |
<router-view/> | |
<button class="button" @click="logout">Test Toast</button> | |
</div> | |
</template> | |
<script> | |
export default { |
// The Vue build version to load with the `import` command | |
// (runtime-only or standalone) has been set in webpack.base.conf with an alias. | |
import Vue from 'vue' | |
import App from './App' | |
import router from './router' | |
import Buefy from 'buefy' | |
import 'buefy/lib/buefy.css' | |
Vue.config.productionTip = false |