1.1.13 • Published 3 years ago

mali-box-header v1.1.13

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

boxheader

best mali

Table of Contents

Install

npm i mali-box-header --save

Usage

// BoxHeader
import BoxHeader from "mali-box-header"
import VueLetterAvatar from "vue-letter-avatar"
Vue.use(BoxHeader)
Vue.use(VueLetterAvatar)


// use with need
1. auth-redirect.vue insert `<box-header />`
2. layout/index.vue insert `<box-header />`
3. permission.js 处理登陆逻辑

服务端配置:

// 配置三个头部地址
// SY_APPLICATION_ENV : 环境
// SY_APPLICATION_BOX_API_URL : box api 地址
// SY_APPLICATION_BOX_URL : box 后台 地址
// SY_APPLICATION_LOGIN_URL : 登陆地址
// SY_APPLICATION_API_URL : 自身 api 地址


header 会自动写入到 localstage

app_env
app_box_api_url
app_box_url

Publish

npm run publish

Contributing

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2020 mali

1.1.12

3 years ago

1.1.13

3 years ago

1.1.11

4 years ago

1.1.9

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.10

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago