astro-dev-plugin-reboot
v0.0.2
Published
Reboot your computer, right from the Astro dev overlay.
Downloads
4
Readme
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
Inspired by https://github.com/Brooooooklyn/server-action-system-reboot.