astro-dev-plugin-reboot

0.0.2 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i astro-dev-plugin-reboot

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

5.05 kB

Total Files

6

Last publish

Collaborators

  • florian-lefebvre