0.1.2 • Published 1 year ago
astro-flamethrower v0.1.2
astro-flamethrower
This project provides an Astro component that integrates the flamethrower client-side router into your site and shows a progress bar on top of the screen while fetching a page.
Quickstart
Install the project
npm install astro-flamethrower
and then insert the <Flamethrower />
component into the <body>
tag of your layouts.
---
import { Flamethrower } from "astro-flamethrower";
// ...
---
<!DOCTYPE html>
<html lang="en">
<head>
<!-- ... -->
</head>
<body>
<!-- ... -->
<Flamethrower color="#00ff00" />
</body>
</html>
Alternatives
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
This project is licensed under the MIT License.
See LICENSE for more information.