0.0.2 • Published 6 months ago

astro-dev-plugin-reboot v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

astro-dev-plugin-reboot

Reboot your computer, right from the Astro dev overlay.

Usage

Installation

Install using the astro cli

npm astro add astro-dev-plugin-reboot

or manually:

npm install astro-dev-plugin-reboot
// astro.config.mjs
import { defineConfig } from 'astro/config';
+ import AstroDevPluginRebootIntegration from "astro-dev-plugin-reboot";

export default defineConfig({
+     integrations: [AstroDevPluginRebootIntegration()],
})

Enable devOverlay

// astro.config.mjs
import { defineConfig } from 'astro/config';
import AstroDevPluginRebootIntegration from "astro-dev-plugin-reboot";

export default defineConfig({
    integrations: [AstroDevPluginRebootIntegration()],
+     experimental: {
+         devOverlay: true
+     }
})

Rebooting

You'll see a new icon in the devtools overlay, click it!

Licensing

MIT Licensed.

Inspired by https://github.com/Brooooooklyn/server-action-system-reboot.

0.0.2

6 months ago

0.0.1

6 months ago