{"id":19136982,"url":"https://github.com/singcl/mhd-vue-mutipage","last_synced_at":"2025-06-14T04:37:52.371Z","repository":{"id":94726331,"uuid":"124777634","full_name":"singcl/mhd-vue-mutipage","owner":"singcl","description":null,"archived":false,"fork":false,"pushed_at":"2018-03-11T17:10:36.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-03T13:19:28.372Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/singcl.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-11T16:47:45.000Z","updated_at":"2018-03-11T16:49:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"acf5a6e4-40ec-4920-ba02-73033f4bd5f6","html_url":"https://github.com/singcl/mhd-vue-mutipage","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/singcl%2Fmhd-vue-mutipage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singcl%2Fmhd-vue-mutipage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singcl%2Fmhd-vue-mutipage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singcl%2Fmhd-vue-mutipage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/singcl","download_url":"https://codeload.github.com/singcl/mhd-vue-mutipage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240215508,"owners_count":19766431,"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":[],"created_at":"2024-11-09T06:36:02.888Z","updated_at":"2025-02-22T18:20:32.290Z","avatar_url":"https://github.com/singcl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-cli多页面应用\n\n\u003e 因为[原作者](https://github.com/breezefeng/vue-cli-multipage)貌似不再更新这个多页面配置了，于是我自己来把这个更新了，后期要是vue-cli更新的话我也会同步更新的\n\n## 项目迁移\n\n[原来](https://github.com/JayZangwill/vue-cli-multipage)的这个项目不再维护，因为是fork来的，没有issues功能，不利于后期维护，所以对项目做了迁移。\n\n## 前言\n\n这是用vue-cli 2.9.3版本`vue init webpack`命令生成的的应用，在此基础上加了些东西变成了多页面的\n\n## tip\n1. 如果想新建页面的话需要在`src/module`里新建文件夹，且文件夹里必须包括一个.html文件，.js文件，.vue文件作为入口文件\n2. `npm run dev`的时候提示打开localhost:8080，会发现一个404页面，这个时候在浏览器中的url追加上（以我目前的目录结构示例）`module/index`或者`module/other`\n\n## Build Setup\n\n``` bash\n# install dependencies\nnpm install\n\n# serve with hot reload at localhost:8080/module/index\nnpm run dev\n\n# build for production with minification\nnpm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsingcl%2Fmhd-vue-mutipage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsingcl%2Fmhd-vue-mutipage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsingcl%2Fmhd-vue-mutipage/lists"}