feat: dox++

This commit is contained in:
cha0s 2024-01-10 04:55:02 -06:00
parent cc2ba879f9
commit 0039fb0f59

View File

@ -2,3 +2,27 @@
title: Electron
description: Run your application in Electron and build for distribution.
---
# Electron
flecks provides integration with [Electron](https://www.electronjs.org/) through
`@flecks/electron`.
:::note[Gotta have somewhere to go]
`@flecks/web` must be enabled on your site to give Electon somewhere to go.
:::
In development, `@flecks/electron` will run your server application using the Electron binary
instead of node.
If `@flecks/react` or `@flecks/redux` are enabled in your application, the
[React DevTools](https://react.dev/learn/react-developer-tools) or
[Redux DevTools](https://github.com/reduxjs/redux-devtools) extensions (respectively) will be
automatically installed.
:::note
Production support including bundling is currently **in progress**. Maybe you would like to
[submit a pull request](https://github.com/cha0s/flecks/compare)?