1.1.3 • Published 7 years ago

@vueact/typer v1.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
7 years ago

Typer

TeamCity CodeBetter VersionEye npm

typer

A diary generator powered by Github issues && React && React-router.

Demo

Click Here!

Usage

1. Install typer

$ (sudo) npm install -g @vueact/typer

2. Init folder

create a folder

$ mkdir diary
$ cd diary
$ typer init

or

$ typer init diary

Then you will see the files tree like this:

-- diary  
 -- index.html  
 -- typer.[hash].js  
 -- vendor.[hash].js  
 -- config.yml  
 -- .gitignore  

3. Configure

Modify the config.yml:

# site title
title: 'Typer'

# github user's name
user: 'stephenLYao'

# issue repo, all diary content from here
repo: 'diary'

# token
token:

Add access token is up to you, however I suggest to do so.

Go to https://github.com/settings/tokens

npm.io

4. Build

Run build to generate diary

$ typer build

5. Deploy

Now push all files to the repo gh-pages branch which you modify in the config.yml,
and Everything has done, Just have typer :)

Todo

  • add theme configure

Very thanks Mirror!

License

MIT

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago