更新readme
parent
e2433cba13
commit
819361737f
15
Readme.md
15
Readme.md
|
@ -1,4 +1,6 @@
|
|||

|
||||
|
||||

|
||||

|
||||
|
||||
# @gm5/jwt
|
||||
|
||||
|
@ -14,10 +16,13 @@ npm install @gm5/jwt
|
|||
|
||||
```js
|
||||
|
||||
import Five from '@gm5/code'
|
||||
import jwt from '@gm5/jwt'
|
||||
import { createApp } from '@gm5/code'
|
||||
import { createJwt, JwtModule } from '@gm5/jwt'
|
||||
|
||||
var app = new Five()
|
||||
app.install(jwt)
|
||||
var app = createApp()
|
||||
|
||||
app.install(JwtModule)
|
||||
.use(createJwt())
|
||||
.run()
|
||||
|
||||
```
|
Loading…
Reference in New Issue