add README, fix typo

This commit is contained in:
leafee98 2023-07-14 22:00:08 +08:00
parent 0cb17f8a89
commit be4191251d
2 changed files with 20 additions and 1 deletions

19
README.md Normal file
View file

@ -0,0 +1,19 @@
# bio
My personal bio page
## Feature
* Generate html from information defined in `config.toml`.
* Support to hide sensitive information and load by Javascript.
* Material design like.
* Generate single html file.
## Build
Clone this repo, run follow command, and generated html will locationed at `dist/index.html`.
```
yarn # install dependencies
yarn r --generate --config config-example.toml
```

View file

@ -16,7 +16,7 @@ function main() {
program
.option("--serve", "serve the gerneated files")
.option("--generate", "generate prod ready files")
.option("--config <config>", "config file you use, config-sample.toml as example");
.option("--config <config>", "config file you use, config-example.toml as example");
program.parse();
const options = program.opts();