• Stars
    star
    147
  • Rank 251,347 (Top 5 %)
  • Language Vue
  • License
    MIT License
  • Created about 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

一个简便的公司内部网址导航站,省去到处找服务地址烦恼......

lenav GitHub

lenav是一个简便的公司内部网址导航站,省去到处找服务地址烦恼......

技术栈

vue2 + vuex + vue-router + vue-lazyload + iview + clipboard + js-cookie + webpack + less + sass + axios

添加网址

public/data/nav.json文件中存放着收录的网址信息文件

添加网址条目的格式如下:

{
  "company": {
      "title": "公司环境地址",
      "name": "company",
      "icon": "ios-contacts-outline",
      "nav": [
          {
              "icon": "./static/images/jenkins.png",
              "name": "jenkins",
              "desc": "测试环境Jenkins",
              "link": "http://127.0.0.1:8080/",
              "doc": "/data/docs/jenkins.md"
          }
      ]
  }
}

分组菜单

  "test": {
    "title": "测试环境",
    "name": "test",
    "children": ["test1", "test2","test3"]
  }

项目运行

npm install

环境配置

dev 环境配置 .env.dev 文件

NODE_ENV=dev
BASE_URL=""

prod 环境配置 .env.prod 文件

NODE_ENV=production
BASE_URL="https://cdn.jsdelivr.net/gh/lework/lenav@master/docs/"
  • BASE_URL: 接口请求的根路径。

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Compiles and minifies for dev

npm run build-dev

docs目录下的内容放在web服务器就可以啦

效果演示

查看demo请戳这里

More Repositories

1

RedisDesktopManager-Windows

RedisDesktopManager Windows版本
2,133
star
2

kainstall

Use shell scripts to install kubernetes(k8s) high availability clusters and addon components based on kubeadmin with one click.使用shell脚本基于kubeadmin一键安装kubernetes 高可用集群和addon组件。
Shell
901
star
3

Ansible-roles

Ansible Roles
HTML
520
star
4

lemonitor

列出开源软件的中国境内镜像站点 (List of mirror sites in China for open source software)
Vue
58
star
5

cloudflare-workers

Cloudflare Worker scripts
JavaScript
48
star
6

script

存放一些使用过的脚本
PowerShell
43
star
7

kainstall-offline

kainstall tools offline file
Shell
40
star
8

kubeadm-certs

kubeadm-certs sets the validity period of kubeadm certificate to 10 years. kubeadm-certs 将 kubeadm 的证书有效期设置为10年。
37
star
9

jenkins-update-center

Jenkins mirror update center generator
Python
32
star
10

reference

专为运维人员而分享的速查表(备忘单),目的是为了方便运维小伙伴在日常工作中查阅。
EJS
30
star
11

skopeo-binary

Generate skopeo binaries.
23
star
12

Ansible-dev

ansible开发
Python
22
star
13

Docker-compose-file

记录使用过的Docker-compose
Shell
20
star
14

lework.github.io

personal blog
SCSS
17
star
15

sync_image

Synchronize container image
Python
16
star
16

kubernetes-manual

kubernetes 安装手册
Shell
15
star
17

leversion

列出开源软件的最新版本 (List the latest version of open source software)
Vue
13
star
18

kubectl-check

用于检查deployment的所有pod是否就绪的kubectl插件
Shell
10
star
19

fr

事故记录demo
Python
8
star
20

kube-api

聚合 Kubernetes API 版本信息,方便查询在 Kubernetes 版本 中可用的 API 版本。
Vue
8
star
21

grafana-lenav-panel

A panel to display website navigation. (grafana panel plugin)
TypeScript
7
star
22

lesec

基于openresty的lua简单防火墙
Lua
6
star
23

ci-demo-springboot

ci demo springboot
Java
2
star
24

ci-demo-go

ci demo go
Go
2
star
25

lework

1
star
26

Docker-kubectl

kubectl client image
Dockerfile
1
star
27

ci-demo-vue

ci demo vue
Vue
1
star