0.0.1 • Published 1 year ago

@kykjsoft/start v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

starter

UseCase

<body>
    <div id="app">
        {{hello}}
    </div>
    <script src="https://unpkg.com/@kykjsoft/starter/index.js" data-target="vue"></script>
    <script>
        var main = {
            data(){ return { hello:'hello world!' } }
        }
    </script>
</body>
<body>
    <div id="app">
        {{hello}}
    </div>
    <script src="https://unpkg.com/@kykjsoft/starter/index.js" data-target="vue2"></script>
    <script>
        var main = {
            data(){ return { hello:'hello world!' } }
        }
    </script>
</body>
<body>
    <div id="app">
        {{hello}}
    </div>
    <script src="https://unpkg.com/@kykjsoft/starter/index.js"></script>
    <script>
        requirejs(['vue'],({createApp})=>{
            const app = createApp({
                data(){ return { hello:'hello world!' } }
            })

            app.mount(document.querySelector('#app'))
        })
    </script>
</body>
0.0.1

1 year ago