GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BiYuqi/fe-navigation: 前端导航网站,优秀的前端资讯网站

BranchesTags
Open more actions menu

Latest commit

 

History

169 Commits
169 Commits

Folders and files

NameName
Last commit message
Last commit date
config
config
 
 
jsondata/data
jsondata/data
 
 
public
public
 
 
scripts
scripts
 
 
src
src
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
README.md
README.md
 
 
babel.config.js
babel.config.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
vue.config.js
vue.config.js
 
 

Repository files navigation

前端导航网

前端导航云集高质量前端网站的内容,云集大量前端网站。优秀的前端资讯网站

贡献

  • fork当前库
  • clone到本地
  • 创建分支
  • 新增数据或功能

重点:

  • 添加数据(required) /jsondata/data 该目录是数据存放地,最后会生成basedata.json. 每个名字都是对应一个路由分类, eg: 最外层javascript 即是约定的路由名称,代码里会读取改名字进行渲染, 内部是数组,每个数组都有name, 作为分类依据分为javascrip和jquery两大类,字需要配置好该处,组件会自动渲染该数据

    {
      "javascript": {
        "javascript": [
          { name: "", link: ""}
        ],
        "jquery": []
      }
    }
  • 添加名称映射(/config/keywordMapping.js) /config/keywordMapping.js,此处存放所有子目录的名称映射,需要添加

    eg:

    'wechat-doc': '小程序文档'
  • 路由(/config/routesNameMapping.js) 如果只是更新原有内容, 那就不必在乎路由这一环节,如果是想新增一级路由(新建了json文件),则需要添加对应路由名称到/config/routesNameMapping.js 添加对应路由,以及侧边栏显示名字,此处用二维数组 ['javascript', 'Javascript']

  • 本地测试

// start vue project
npm run serve

// watch the JSON file change then automatically create jsondata
npm run watch

本地使用

# download
git clone https://github.com/BiYuqi/fe-navigation.git
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run serve

# build for production with minification
npm run build

About

前端导航网站,优秀的前端资讯网站

biyuqi.github.io/fe-navigation

Topics

frontend-developerfrontend-interviewfrontend-webnavigationtech-blog

Resources

Readme
Activity

Stars

22 stars

Watchers

2 watching

Forks

10 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.