Getting started
To install from npm:
npm i
If you do not want to install all the modules mandatory for O21Pay you must use this script in your html file.
<script type="module" src="https://cdn.jsdelivr.net/npm/o21pay-components@latest/dist/all.js"></script>
You can either install an optimized version from npm:
npm i
npm i o21pay-components@latest --save
To use an optimal version of O21Pay, you must run this script in your html file. In this case you will have to install the missing modules manually in npm.
<script type="module" src="https://cdn.jsdelivr.net/npm/o21pay-components/dist/all.min.js"></script>
Run a demo:
vite
VITE v3.2.1 ready in 220 ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
Last updated