Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 766 Bytes

README.md

File metadata and controls

46 lines (29 loc) · 766 Bytes

unload-paypal-button-demo

This is a rough demo illustrating how to dynamically reload and unload the PayPal buttons using Svelte.

Note that you will need to have Node.js installed.

Get started

Install the dependencies...

npm install

...then start the app:

npm run dev

Navigate to localhost:8080. You should see your app running.

Building and running in production mode

To create an optimised version of the app:

npm run build

Deploying to the web

With Vercel

Install vercel if you haven't already:

npm install -g vercel

Then, from within your project folder:

cd public
vercel deploy --name my-project