mali-box-header

mali best box common header
732
Install
npm install mali-box-header
Latest Version:1.1.13
Vue:2
License:MIT
Last Updated:Dec 12, 2022
Links: GitHub  ·  npm
Maintainer: rose2099c

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

Related Packages

vue

The progressive JavaScript framework for building modern web UI.

468,054,189 54,906
vue
eslint-plugin-vue

Official ESLint plugin for Vue.js

266,364,830 4,591
@vueuse/shared
260,835,866 22,398
@vitejs/plugin-vue

The official plugin for Vue SFC support in Vite.

257,315,514 686
@vueuse/core

Collection of essential Vue Composition Utilities

256,285,643 22,398

Version History

Version Released Vue License
1.1.13 ^2.5.11 MIT
1.1.12 ^2.5.11 MIT
1.1.11 ^2.5.11 MIT
1.1.10 ^2.5.11 MIT
1.1.9 ^2.5.11 MIT