@alanalanalan/test

0.6.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @alanalanalan/test

Weekly Downloads

14

Version

0.6.0

License

none

Unpacked Size

4.76 MB

Total Files

7

Last publish

Collaborators

  • alanalanalan