0.2.0 • Published 11 months ago

@alanalanalan/integuru v0.2.0

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

Taiki Frontend

Getting started

Run with webpack

npm install
npm run build
npm start

Make sure the backend is running first, and then proceed to launch the frontend.

Hosting this on your local machine

To make this run on other frameworks through the <script> tag, use http-server.

npm install --global http-server
http-server .

Then just add something like this in your HTML body:

<body>
    <div id="root"></div>
    <script src="http://localhost:8081/dist/v1/taiki.js"></script>
    <script>
      const TaikiModal = window.Taiki.Create("hi");
      TaikiModal.open()
    </script>
</body>

Depending on what port you're on, you can change that in the link above and make sure that the Taiki Modal get initialized first.