JSFiddle - React, Tailwind, and code Playground

by Calebe Aires

HTML

<html>

  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <script src="https://unpkg.com/vue@next"></script>
    <!-- import CSS -->
    <link rel="stylesheet" href="https://unpkg.com/element-plus/lib/theme-chalk/index.css">
    <!-- import JavaScript -->
    <script src="https://unpkg.com/element-plus/lib/index.full.js"></script>
    <title>Element Plus demo</title>
  </head>

  <body>
    <div id="app">
      <el-popover placement="right" :width="400" trigger="click">
        <template #reference>
          <el-tooltip placement="bottom" content="Teste tooltip as reference first element">
            <el-button>Click to activate</el-button>
          </el-tooltip>
        </template>
        Teste
      </el-popover>


    </div>
    <script>
      const App = {
        data() {
          return {
            message: "Hello Element Plus",
          };
        },
      };
      const app = Vue.createApp(App);
      app.use(ElementPlus);
      app.mount("#app");

    </script>
  </body>

</html>