{"id":16601817,"url":"https://github.com/biyuqi/fe-navigation","last_synced_at":"2025-03-09T05:52:32.018Z","repository":{"id":37920168,"uuid":"80191356","full_name":"BiYuqi/fe-navigation","owner":"BiYuqi","description":"前端导航网站，优秀的前端资讯网站","archived":false,"fork":false,"pushed_at":"2023-01-04T22:42:36.000Z","size":6866,"stargazers_count":21,"open_issues_count":25,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T07:44:50.149Z","etag":null,"topics":["frontend-developer","frontend-interview","frontend-web","navigation","tech-blog"],"latest_commit_sha":null,"homepage":"https://biyuqi.github.io/fe-navigation","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BiYuqi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-27T08:19:59.000Z","updated_at":"2024-11-13T12:01:55.000Z","dependencies_parsed_at":"2023-02-02T22:31:21.748Z","dependency_job_id":null,"html_url":"https://github.com/BiYuqi/fe-navigation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BiYuqi%2Ffe-navigation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BiYuqi%2Ffe-navigation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BiYuqi%2Ffe-navigation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BiYuqi%2Ffe-navigation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BiYuqi","download_url":"https://codeload.github.com/BiYuqi/fe-navigation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242650956,"owners_count":20163611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["frontend-developer","frontend-interview","frontend-web","navigation","tech-blog"],"created_at":"2024-10-12T00:19:22.061Z","updated_at":"2025-03-09T05:52:31.996Z","avatar_url":"https://github.com/BiYuqi.png","language":"Vue","readme":"\n# [前端导航网](https://fe.loadingmore.com/)\n\u003cimg src=\"https://travis-ci.org/BiYuqi/fe-navigation.svg?branch=master\"\u003e\n\n\u003e 前端导航云集高质量前端网站的内容，云集大量前端网站。优秀的前端资讯网站\n\n## 贡献\n- fork当前库\n- clone到本地\n- 创建分支\n- 新增数据或功能\n\n重点: \n- 添加数据（`required`）\n  /jsondata/data 该目录是数据存放地,最后会生成`basedata.json`.\n  每个名字都是对应一个路由分类, eg: 最外层`javascript` 即是约定的路由名称，代码里会读取改名字进行渲染, 内部是数组，每个数组都有name, 作为分类依据分为`javascrip`和`jquery`两大类，字需要配置好该处，组件会自动渲染该数据\n  ```js\n  {\n    \"javascript\": {\n      \"javascript\": [\n        { name: \"\", link: \"\"}\n      ],\n      \"jquery\": []\n    }\n  }\n  ```\n- 添加名称映射(`/config/keywordMapping.js`)\n  `/config/keywordMapping.js`,此处存放所有子目录的名称映射，需要添加\n\n  eg:\n  ```js\n  'wechat-doc': '小程序文档'\n  ```\n  \n- 路由(`/config/routesNameMapping.js`)\n如果只是更新原有内容, 那就不必在乎路由这一环节，如果是想新增一级路由(新建了json文件)，则需要添加对应路由名称到`/config/routesNameMapping.js` 添加对应路由，以及侧边栏显示名字,此处用二维数组 `['javascript', 'Javascript']`\n\n- 本地测试\n```js\n// start vue project\nnpm run serve\n\n// watch the JSON file change then automatically create jsondata\nnpm run watch\n```\n## 本地使用\n\n``` bash\n# download\ngit clone https://github.com/BiYuqi/fe-navigation.git\n# install dependencies\nnpm install\n\n# serve with hot reload at localhost:8080\nnpm run serve\n\n# build for production with minification\nnpm run build\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiyuqi%2Ffe-navigation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbiyuqi%2Ffe-navigation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiyuqi%2Ffe-navigation/lists"}