<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>Riot Sample</title>
</head>
<body>
    Hello World
    <my-tag></my-tag>
    <script src="myTag.tag.html" type="riot/tag"></script>
    <script src="https://cdn.jsdelivr.net/npm/riot@3.7/riot+compiler.min.js"></script>
    <script>
        riot.mount('*')
    </script>
</body>
</html>
<my-tag>
    <h3>Hello Classmethod.</h3>
    <p>{message}</p>
    <script>
        const tag = this
        const date = new Date()
        tag.message = "today is " + date
        tag.update()
    </script>
</my-tag>