{"id":21156867,"url":"https://github.com/lkiarest/vant-example","last_synced_at":"2026-01-02T12:03:36.327Z","repository":{"id":149611455,"uuid":"106545674","full_name":"lkiarest/vant-example","owner":"lkiarest","description":"vue app with vant ui","archived":false,"fork":false,"pushed_at":"2017-10-24T03:47:02.000Z","size":178,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T08:45:09.070Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/lkiarest.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":"2017-10-11T11:31:57.000Z","updated_at":"2019-02-01T01:09:59.000Z","dependencies_parsed_at":"2023-04-25T11:32:16.619Z","dependency_job_id":null,"html_url":"https://github.com/lkiarest/vant-example","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/lkiarest%2Fvant-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lkiarest%2Fvant-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lkiarest%2Fvant-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lkiarest%2Fvant-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lkiarest","download_url":"https://codeload.github.com/lkiarest/vant-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243598336,"owners_count":20316942,"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-20T11:54:06.901Z","updated_at":"2026-01-02T12:03:36.277Z","avatar_url":"https://github.com/lkiarest.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# emall\n\n\u003e 基于 webpack2 + vue2 + vuex2 + vue-router2 + axios [启动模板](https://github.com/lkiarest/webpack/tree/cpdaily) 创建\n\n仅提供模板工程及通用 lib 供 DIY，不做任何多余的事情(The Single Responsibility Principle)\n\n### http\n基于 axios 封装 http 请求 （utils/http），自行引入\n\n### Vuex (optional)\n自行引入 vuex/store\n\n### polyfill\n默认引入 utils/polyfills\n\n### 多语言(optional)\n\n1. 将多语言文件(cn.json , en.json ...) 放在src/config/i18n 目录下，编译工具会使用 vue-i18n 将多语言注入到app中。\n1. 页面按照 vue-i8n 的[文档](https://github.com/kazupon/vue-i18n) 书写即可\n\n### 常用配置\n通用配置（如js lib，proxy）等参考 build.config.js\n\n### index 模板\n可自行定制 index 模板，参考 build/template\n\n### 可在一个项目中发布多个独立应用或单个应用\n\n1. src/pages 目录下包含多个应用(hello1, hello2)\n\n    打包后会在dist中生成多个独立的app发布目录，使用app名称区分。\n\n    ```\n    // 开发模式\n    npm run dev\n    // 发布模式\n    npm run build\n    ./startup.bat #启动http server\n    // 访问 http://localhost:3000/hello1/index.html\n    // 访问 http://localhost:3000/hello2/index.html\n    ```\n\n1. src/pages 目录下包含单个应用(hello1)\n\n    打包后会在dist中生成独立的发布目录，直接放在根目录下。\n    ```\n    // 开发模式\n    npm run dev\n    // 发布模式\n    npm run build\n    ./startup.bat #启动http server\n    // 访问 http://localhost:3000/index.html\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flkiarest%2Fvant-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flkiarest%2Fvant-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flkiarest%2Fvant-example/lists"}