Web Component library to go with the weather-report-api
 
 
Go to file
Kenneth Barbour 922426473f Initial commit 2024-03-30 16:52:11 -04:00
src Initial commit 2024-03-30 16:52:11 -04:00
.gitignore Initial commit 2024-03-30 16:52:11 -04:00
LICENSE.txt Initial commit 2024-03-30 16:52:11 -04:00
README.md Initial commit 2024-03-30 16:52:11 -04:00
index.html Initial commit 2024-03-30 16:52:11 -04:00
package-lock.json Initial commit 2024-03-30 16:52:11 -04:00
package.json Initial commit 2024-03-30 16:52:11 -04:00
vite.config.js Initial commit 2024-03-30 16:52:11 -04:00

README.md

Weather Web Components

These web components go with my weather-report-api.

Usage

<!DOCTYPE html>
<html>
<head>
<script src="/weather-report.js"></script>
</head>
<body>
<weather-report src="http://localhost:3000/v1/reports/TEST"></weather-report>
</body>
</html>

Development

  1. Install dependencies with npm install
  2. Run npm run dev