[SOLVED] Var Dom7 is not defined

Hello,
why Dom7 is not defined ?
How can i define the Dom7 in my app ?

app.js

/ Init F7 Vue Plugin
Framework7.use(Framework7Vue)
//
var $$ = Dom7;
// Init App
new Vue({
  el: '#app',
  template: '<app/>',
  store,
  routes,
  // Register App Component
  components: {
    app: App
  }
});

home.vue

created () {
    var $$ = Dom7();
    setInterval(function(){
      //some code
      $$(".check_net").addClass("color-green");
}, 2000);
  },

I need to add or remove class to f7-icon
Thanks in advance

this.Dom7('My-Selector')
// or
var $$ = this.Dom7
2 Likes

Thank you very much. It’s work :slight_smile: