chore: dox
This commit is contained in:
parent
983da24efa
commit
f1df3c60ce
|
@ -89,11 +89,11 @@ We're going to be creating a fortune teller command that will tell you when you
|
|||
### Create a command that takes an option
|
||||
|
||||
Commands are gathered during the [bootstrap phase](#todo) and therefore your hook must be
|
||||
implemented in a boostrap script.
|
||||
implemented in a bootstrap script.
|
||||
|
||||
Edit your bootstrap script at `packages/fortune/build/flecks.boostrap.js` to look like this:
|
||||
Edit your bootstrap script at `packages/fortune/build/flecks.bootstrap.js` to look like this:
|
||||
|
||||
```javascript title="packages/fortune/build/flecks.boostrap.js"
|
||||
```javascript title="packages/fortune/build/flecks.bootstrap.js"
|
||||
export const hooks = {
|
||||
'@flecks/core.commands': () => ({
|
||||
fortune: {
|
||||
|
@ -173,7 +173,7 @@ You might also stub your toe.
|
|||
You can also define arguments in addition to options. Let's add an argument that takes the user's
|
||||
name to personalize the output:
|
||||
|
||||
```javascript title="packages/fortune/build/flecks.boostrap.js"
|
||||
```javascript title="packages/fortune/build/flecks.bootstrap.js"
|
||||
const {Argument} = require('@flecks/core/build/commands');
|
||||
|
||||
export const hooks = {
|
||||
|
|
5
website/docs/docker.mdx
Normal file
5
website/docs/docker.mdx
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Docker
|
||||
description: Spin up containers and orchestrate your production application.
|
||||
---
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: Electron
|
||||
description: Run your application in Electron and build for distribution.
|
||||
description: Run your application in Electron.
|
||||
---
|
||||
|
||||
# Electron
|
||||
|
|
|
@ -24,12 +24,12 @@ flecks is built with supreme attention to the developer and end-user experience.
|
|||
- 🛠️ **Ready to build maintainable and performant production applications**
|
||||
- [Documentation website](./documentation) generation for your project with no fuss
|
||||
- [Write tests](./testing), run on server/in browser/...
|
||||
- [React](#todo) / [redux](#todo)
|
||||
- [React](./react) / [redux](./redux)
|
||||
- [Realtime sockets](./sockets) with lots of goodies like binary packing and packet dispatching
|
||||
- [Databases](./database) using [Sequelize](https://sequelize.org/) to connect and [Docker](https://www.docker.com/) to easily persist
|
||||
- [Electron](#todo)
|
||||
- [Docker](#todo)
|
||||
- [REPL](#todo)
|
||||
- [Electron](./electron)
|
||||
- [Docker](./docker)
|
||||
- [REPL](./repl)
|
||||
- babel + Webpack 5
|
||||
- 👷 **Developers, developers, developers**
|
||||
- Easy to create a fleck; no need to publish packages or use voodoo
|
||||
|
|
|
@ -41,6 +41,7 @@ export default {
|
|||
],
|
||||
},
|
||||
'database',
|
||||
'docker',
|
||||
'sockets',
|
||||
'react',
|
||||
'electron',
|
||||
|
|
Loading…
Reference in New Issue
Block a user