change-social-content

UI element that lets shoppers customizer their donation content

Usage no npm install needed!

<script type="module">
  import changeSocialContent from 'https://cdn.skypack.dev/change-social-content';
</script>

README

Getting Started

One-time Setup

  1. Install Node.js.
    1. Install nvm to manage Node.js versions.
    2. Run nvm install node
  2. Run npm install to install dependencies

Building the component

To build the component, run:

npm run build

To build the minified component:

npm run build:minified

Developing the component

Start the development server, and TS compilation in watch mode:

npm run dev; npm run build:watch

Then, go to http://localhost:8000/dev/

Any changes made to the component in src/ will be automatically built, and the browser page will automatically reload.