Looking for a shareable component template? Go here --> sveltejs/component-template
This app fetches data from NBU api, get only USD and generate chart using Chart.js
Note that you will need to have Node.js installed.
Install the dependencies...
cd api-exchange
npm install
...then start Rollup:
npm run dev
Navigate to localhost:5000. You should see your app running. Edit a component file in src
, save it, and reload the page to see your changes.
To create an optimised version of the app:
npm run build