{"id":20839300,"url":"https://github.com/ailln/vue-flask-template","last_synced_at":"2025-05-08T21:41:25.255Z","repository":{"id":36769480,"uuid":"207616469","full_name":"Ailln/vue-flask-template","owner":"Ailln","description":"📦 一个快速搭建 Web 应用的模版！前端使用渐进式框架 Vue，后端使用微框架 Flask","archived":false,"fork":false,"pushed_at":"2023-01-08T00:08:17.000Z","size":261,"stargazers_count":30,"open_issues_count":6,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-03T17:17:27.818Z","etag":null,"topics":["flask","flask-application","flask-template","python","vue","vue-application","vue-flask","vue-flask-template","vue-iview","vue-template"],"latest_commit_sha":null,"homepage":"","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/Ailln.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}},"created_at":"2019-09-10T17:02:36.000Z","updated_at":"2023-02-04T22:55:59.000Z","dependencies_parsed_at":"2023-01-17T04:45:37.440Z","dependency_job_id":null,"html_url":"https://github.com/Ailln/vue-flask-template","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ailln%2Fvue-flask-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ailln%2Fvue-flask-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ailln%2Fvue-flask-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ailln%2Fvue-flask-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ailln","download_url":"https://codeload.github.com/Ailln/vue-flask-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225110502,"owners_count":17422412,"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":["flask","flask-application","flask-template","python","vue","vue-application","vue-flask","vue-flask-template","vue-iview","vue-template"],"created_at":"2024-11-18T01:13:13.916Z","updated_at":"2024-11-18T01:13:14.362Z","avatar_url":"https://github.com/Ailln.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue Flask Template\n\n📦 一个快速搭建 Web 应用的模版！前端使用渐进式框架 [Vue](https://github.com/vuejs/vue)，后端使用微框架 [Flask](https://github.com/pallets/flask)。\n\n## 使用方法\n\n1. 点击本项目右上角的绿色按钮 `Use this template`（使用此模板），输入名称和说明，完成创建。\n\n2. 将刚刚创建好的项目克隆到本地，这里以本项目为例，实际操作时这里需要替换你自己的项目。\n\n    ```bash\n    git clone https://github.com/Ailln/vue-flask-template.git --depth 1\n    ```\n\n3. 安装环境依赖，本项目需要 Node 环境和 Python 环境，如果对这部分不熟悉的看本文档最后的参考文章。\n\n   \u003e 注意：版本要求 Node version 12+, Python version 3.6+ 。\n\n    ```bash\n    # 前端环境依赖安装\n    cd front\n    npm install\n    \n    # 后端环境依赖安装\n    cd back\n    pip install -r requirements.txt\n    ```\n\n4. 打开两个终端，分别启动前端和后端。\n\n    ```bash\n    # 启动前端\n    cd front\n    npm run dev\n    \n    # 启动后端\n    cd back\n    python app.py\n    ```\n\n5. 在浏览器中打开：`http://localhost:3000/` 即可预览。\n\n6. 根据你的需求修改代码。\n\n## 项目结构\n\n```\n.\n├── front # 前端\n│    ├── package.json # 前端依赖\n│    ├── package-lock.json\n│    ├── public\n│    ├── src\n│    │    ├── App.vue # 主页面\n│    │    ├── components # 子组件\n│    │    │    └── HelloWorld.vue\n│    │    ├── assets # 静态资源\n│    │    └── main.js\n│    └── vite.config.js\n├── back # 后端\n│    ├── app.py\n│    └── requirements.txt # 后端依赖\n├── README.md\n├── LICENSE\n└── .gitignore\n```\n\n## 许可\n\n[![](https://award.dovolopor.com?lt=License\u0026rt=MIT\u0026rbc=green)](./LICENSE)\n\n## 参考\n\n- [Vue3 教程](https://v3.cn.vuejs.org/)\n- [Vite 官方中文文档](https://cn.vitejs.dev/guide/why.html)\n- [Flask 官方文档](https://flask.palletsprojects.com/en/1.1.x/)\n- [如何安装 Node 开发环境？](https://www.v2ai.cn/2018/11/11/linux/7-node-install/)\n- [如何安装 Python 开发环境？](https://www.v2ai.cn/2018/04/29/python/2-python-install/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failln%2Fvue-flask-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Failln%2Fvue-flask-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failln%2Fvue-flask-template/lists"}