{"id":20541390,"url":"https://github.com/helloworld-co/flygoose-blog","last_synced_at":"2026-01-26T21:51:16.367Z","repository":{"id":228158494,"uuid":"753512609","full_name":"helloworld-Co/flygoose-blog","owner":"helloworld-Co","description":"a nuxt3 blog","archived":false,"fork":false,"pushed_at":"2024-09-12T14:07:07.000Z","size":1607,"stargazers_count":115,"open_issues_count":2,"forks_count":32,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-06T04:26:56.452Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/helloworld-Co.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":"2024-02-06T09:18:53.000Z","updated_at":"2025-01-21T03:40:18.000Z","dependencies_parsed_at":"2024-08-21T11:03:57.247Z","dependency_job_id":"09fa9535-1dca-4968-a556-733adca90c41","html_url":"https://github.com/helloworld-Co/flygoose-blog","commit_stats":null,"previous_names":["helloworld-co/flygoose-blog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/helloworld-Co/flygoose-blog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloworld-Co%2Fflygoose-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloworld-Co%2Fflygoose-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloworld-Co%2Fflygoose-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloworld-Co%2Fflygoose-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helloworld-Co","download_url":"https://codeload.github.com/helloworld-Co/flygoose-blog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloworld-Co%2Fflygoose-blog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28789138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:49:50.245Z","status":"ssl_error","status_checked_at":"2026-01-26T21:48:29.455Z","response_time":59,"last_error":"SSL_read: 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":[],"created_at":"2024-11-16T01:22:43.287Z","updated_at":"2026-01-26T21:51:16.330Z","avatar_url":"https://github.com/helloworld-Co.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hello-world Nuxt 3 Starter\n\n## 飞鹅周边 (可访问一下地址访问体验)\n\n##### 飞鹅官网 - flygoose.helloworld.net\n\n##### 飞鹅博客 - flygoose-blog.helloworld.net\n\n##### 飞鹅管理系统 - flygoose-admin.helloworld.net\n\n##### helloworld 开发者社区 - www.helloworld.net\n\n## 代码命名规范\n\n- 文件夹小写，多个单词用连字符\n- vue 文件除了 index.vue 全部大驼峰\n- ts 文件用小驼峰\n- 组件均放在 componets 下，与其 page 的目录相对应\n\n## 代码规范\n\n- class 如果是由多个字母组成，用连字符隔开，比如 node-list\n- 触发的 dom 事件命名为 handleXxxxClick,handleXxxxChange\n- 监听事件问 onXxxxChange\n\n## 提交流程\n\ngit add 后执行 git commit -m 'xxx', xxx 这个代表 commit 的说明\n\n## 打包流程\n\n在 `package.json` 平级的目录中 执行 `npm run build` 生产 `.output` 文件 本地的话直接执行 `pm2 start pm2.config.js` 启动服务\n\n需要目录文件\n\n- 生成的.output\n- 当前目录的 pm2.config.js\n\n```\n// BASE_URL 为接口请求地址\n\"build\": \"cross-env BASE_URL=https://flygoose.helloworld.net nuxi build\",\n```\n\n##### 注：本地 `pm2` 启动后,在浏览器地址栏通过 `127.0.0.1:58081` 即可访问\n\n###### $\\color{red}{若未安装 pm2,可执行以下命令进行安装}$\n\n```\nnpm install pm2 -g\n```\n\n##### pm2 相关具体可参考 \u003chttps://pm2.node.org.cn/\u003e\n\n### BASE_URL 使用\n\n在根目录找到文件 `nuxt.config.ts` 文件添加此配置项可供全局使用（也可添加其他全局变量）\n\n```\nruntimeConfig: {\n    public: {\n      BASE_URL: process.env.BASE_URL + '/api',\n    }\n}\n```\n\n通过 `useRuntimeConfig`方法来获取 `runtimeConfig` 中的 `BASE_URL`,如下所示\n\n```\nconst config = useRuntimeConfig()\n// config.public.BASE_URL 即可获取 runtimeConfig 中的环境变量值\n```\n\n## 专栏 iconfont 替换\n\n```\n        {\n         rel: 'stylesheet',\n         href: '//at.alicdn.com/t/c/font_3420979_f6dbhdrnbpu.css'\n        }\n\n```\n\n修改 nuxt.config.js 的 href 在线地址即可使用自己的 iconfont\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloworld-co%2Fflygoose-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelloworld-co%2Fflygoose-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloworld-co%2Fflygoose-blog/lists"}