{"id":20139262,"url":"https://github.com/lpreterite/fis-vue-example","last_synced_at":"2026-05-12T14:33:36.616Z","repository":{"id":81485816,"uuid":"64670096","full_name":"lpreterite/fis-vue-example","owner":"lpreterite","description":"基于fis构建的vuejs事例（包含vue-router的使用）","archived":false,"fork":false,"pushed_at":"2017-01-10T10:15:25.000Z","size":2551,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T23:16:54.536Z","etag":null,"topics":["example","fis3","vue"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lpreterite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-01T13:40:34.000Z","updated_at":"2016-08-01T13:43:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"66b5d334-9c74-4178-89fd-3df9e738a99a","html_url":"https://github.com/lpreterite/fis-vue-example","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lpreterite/fis-vue-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpreterite%2Ffis-vue-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpreterite%2Ffis-vue-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpreterite%2Ffis-vue-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpreterite%2Ffis-vue-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lpreterite","download_url":"https://codeload.github.com/lpreterite/fis-vue-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpreterite%2Ffis-vue-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32943424,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["example","fis3","vue"],"created_at":"2024-11-13T21:44:35.354Z","updated_at":"2026-05-12T14:33:36.581Z","avatar_url":"https://github.com/lpreterite.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#fis-vue-example\n\n结合fis与vue的手脚架例子，同时提供一些实际开发时使用比较广泛的功能实现。\n\n\n##快速开始\n\n安装依赖\n```\n$ npm install\n```\n\n本地部署并监控文件\n```\n$ npm run dev\n```\n\n发布\n```\n$ npm run publish\n```\n\n预览本地效果\n```\n$ npm run server\n```\n\n\n部署至测试服务器并监控文件\n```\n$ npm run qa\n```\n\u003e 需要在测试机部署上传接收脚本（或者服务）\n\u003e [nodejs版本](https://github.com/fex-team/receiver)\n\u003e [php版本](https://github.com/fex-team/fis-command-release/blob/master/tools/receiver.php)\n\n\n\n##例子包含\n\n1. 快速使用、部署和打包\n2. 模拟数据接口\n3. 测试用例\n4. 组件化\n5. 模块化\n6. 标准化数据模型\n7. 错误拦截与提示管理\n8. 统一化信息提示\n~~9. 上传例子~~\n\n\n##固定的目录结构\n\n```\ncomponents/ 组件\nconfig/     配置\nlibs/       外部库\nutils/      扩展类\nmodels/     数据模型\npartials/   代码片段\nviews/      视图\n├ page      页面目录(.html)\n└ template  模板目录(.tpl)\n\n\ntests/       测试目录\n```\n\n## 运行环境\n```\nnode 4.5.0\nnpm 3.10.x\npython 2.7.x\nfis3 3.3.12以上\n\nwin系统还需 Microsoft Visual Studio 2010以上\nlinux系统需要 c++运行环境\n```\n\n### 环境安装细节\nwin下需要管理者权限\n```\n# 更新npm\nsudo npm update -g npm\n\n# 安装fis3\nsudo npm install -g fis3\n```\n\n## 安装依赖\n命令行进入项目目录根\n```\nnpm i\n```\n\n### 安装其他问题\n假如运行出错，或很久不动，可能是node-sass安装问题，使用`ctrl+c`停止命令，然后重装。\n```\nnpm rebuild node-sass\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpreterite%2Ffis-vue-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flpreterite%2Ffis-vue-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpreterite%2Ffis-vue-example/lists"}