title: How to call vuetify method from script in html (Vuetify CDN)
body: <p>I would like to know how to call a vuetify method from a script in html in my Vuetify application (note that it is in CDN.). I really don't know how to do it and I would like some help, thanks. <strong>There is a exemple who NOT work:</strong></p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;&lt;head&gt;&lt;title&gt;My super application&lt;/title&gt; &lt;link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet"&gt;&lt;link href="https://cdn.jsdelivr.net/npm/@mdi/font@6.x/css/materialdesignicons.min.css" rel="stylesheet"&gt;&lt;link href="https://cdn.jsdelivr.net/npm/vuetify@2.x/dist/vuetify.min.css" rel="stylesheet"&gt;&lt;meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"&gt;&lt;/head&gt;&lt;body&gt;&lt;div id="app"&gt;&lt;v-app id="inspire" :dark="setTheme"&gt;&lt;v-container fluid px-15&gt;&lt;button onclick="test()"&gt;CLICK HERE TO DO A METHOD WITH SCRIPT HTML &lt;/button&gt;&lt;br&gt;&lt;br&gt;&lt;span&gt;METHODS_2938 is not defined :(&lt;/span&gt;&lt;script&gt;
                      function test() {
                          var material_gworl = false;
                          if(material_gworl == false) {
                              METHODS_2938();
                              // DO --&gt; VUETIFY &lt;-- METHOD: METHODS_2938
                          }
                      }
                  &lt;/script&gt;&lt;v-spacer&gt;&lt;/v-spacer&gt;
              &lt;/v-container&gt;
          &lt;/v-app&gt;
      &lt;/div&gt;
  
        &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/7.10.4/polyfill.min.js"&gt;&lt;/script&gt;
        &lt;script src="https://cdn.jsdelivr.net/npm/vue@2.x/dist/vue.min.js"&gt;&lt;/script&gt;
        &lt;script src="https://cdn.jsdelivr.net/npm/vuetify@2.x/dist/vuetify.min.js"&gt;&lt;/script&gt;
        &lt;script&gt;
          new Vue({
          el: "#app",
          opts: {
              theme: {
                  dark: false
              }
          },
          vuetify: new Vuetify(this.opts),
          data() {
              return {
                  goDark: false
              };
          },
          methods: {
              // HERE
              METHODS_2938() {
                  alert("WORKING!!");
              }
          },
          
          computed: {
              setTheme() {
                  if (this.goDark == true) {
                      return (this.$vuetify.theme.dark = true);
                  } else {
                      return (this.$vuetify.theme.dark = false);
                  }
              }
          }
      });
  
  
        &lt;/script&gt;
      &lt;/body&gt;
      &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>