Packages

A gleamy app framework.

Current section

Files

Jump to
pane_gleam README.md
Raw

README.md

# Pane
Please note Pane is not ready for development use. It is in early development.
[![Package Version](https://img.shields.io/hexpm/v/pane)](https://hex.pm/packages/pane_gleam)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://pane_gleam.hexdocs.pm/)
```sh
gleam add pane-gleam@1
```
```gleam
import pane/window
pub fn main() -> Nil {
// Put all of the things that are needed like input: "file/url path"
// Route files from the priv/pane/ directory, that is where the binary will look for files.
let Config = window.WindowConfig() // < --------
let PreparedConfig: String = window.prepare_window(Config)
window.load_window(PreparedConfig)
}
```
Further documentation can be found at <https://pane_gleam.hexdocs.pm/>.
## Development
```sh
gleam run -m pane build
cd priv/pane/
./my-project
```