@viivue/easy-popup
v1.2.0
Published
Super light-weight JavaScript library to create a simple popup
Downloads
46
Readme
Easy Popup
Visit https://easy-popup.netlify.app/ for documentation.
Getting started
CDN
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/viivue/[email protected]/dist/easy-popup.min.css">
<script src="https://cdn.jsdelivr.net/gh/viivue/[email protected]/dist/easy-popup.min.js"></script>
NPM Package
Install NPM package
npm i @viivue/easy-popup
Import
import "@viivue/easy-popup";
Development
Clone this repo, then:
# install
npm i
# run dev server
npm run dev
Publish
# build
npm run prod
# test package before publish
npm pack
# publish package (search & replace old version number)
npm publish
Contribute
Feel free to submit new issue or create a pull request.
Branches:
main
: for publishing (handled by Netlify at https://easy-popup.netlify.app/)staging
: for development deploy (handled by GitHub Pages at https://viivue.github.io/easy-popup/)gh-pages-staging
: for deploying staging branch
Licence
MIT (c) 2023 ViiVue.