24 lines
424 B
Markdown
24 lines
424 B
Markdown
# Weather Web Components
|
|
|
|
These web components go with my
|
|
[weather-report-api](https://git.kenbarbour.com/kenbarbour/weather-report-api).
|
|
|
|
## Usage
|
|
|
|
```html
|
|
<!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`
|