text: import Vue from "vue";
  import App from "./App.vue";
  import router from "./router";
  import store from "./store";
  import Clipboard from "v-clipboard";
  import { auth } from "./firebase";
  
  import VueClipboard from 'vue-clipboard2';
  
  Vue.config.productionTip = false;
  Vue.use(VueClipboard);
  // Vue.use(Clipboard);
  // new ClipboardJS('.btn');
  let app;
  auth.onAuthStateChanged(user => {
    if (!app) {
      app = new Vue({
        router,
        store,
        render: h => h(App)
      }).$mount("#app");
    }
  
    if (user) {
      store.dispatch("fetchUserProfile", user);
    }
  });
  