{"id":16434218,"url":"https://github.com/wangweianger/qmx-vue-compent","last_synced_at":"2025-06-13T13:02:07.810Z","repository":{"id":143796988,"uuid":"65065501","full_name":"wangweianger/qmx-vue-compent","owner":"wangweianger","description":"Vuemo","archived":false,"fork":false,"pushed_at":"2016-08-06T04:56:35.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-08T08:35:35.838Z","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/wangweianger.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":"2016-08-06T04:48:39.000Z","updated_at":"2017-09-21T14:44:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"c92faab0-6692-4ea3-8b9d-a0b2690bf0f1","html_url":"https://github.com/wangweianger/qmx-vue-compent","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/wangweianger%2Fqmx-vue-compent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangweianger%2Fqmx-vue-compent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangweianger%2Fqmx-vue-compent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangweianger%2Fqmx-vue-compent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wangweianger","download_url":"https://codeload.github.com/wangweianger/qmx-vue-compent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240730819,"owners_count":19848420,"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-10-11T08:48:31.377Z","updated_at":"2025-02-25T19:24:01.685Z","avatar_url":"https://github.com/wangweianger.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue组件化开发-示例\n\n\u003e  * 使用知识点：\n\u003e  * vue.js           轻量级mvvm框架\n\u003e  * webpack          前端自动话打包工具\n\u003e  * vue-router       vue路由\n\u003e  * vue-loader       vue组件化开发插件\n\u003e  * vuex             前端状态管理 类式于flux 和 radux\n\u003e  * babel            es6转译工具，用最前言的javascript做前端开发\n\n\n## 目录结构\n\n```\n- vue-loader/\n  + package.json //npm配置文件\n  + index.html //入口html\n  - node_modules //npm加载的模块\n  - build //webpack 配置文件\n    + webpack.base.config.js //基本配置\n    + webpack.dev.config.js //开发环境\n    + webpack.product.config.js //生产环境\n  - src //开发资源目录\n    - assets //一些资源\n      + css  \n      + js\n      + img\n    - components //vue组件\n      + home.vue \n      + index.vue\n      + user.vue\n      + userDetails.vue\n  -vuex  //状态等管理\n    -actions  \n      +indexActions.js\n      ...\n    -modles\n      +indexModles.js\n      ...\n    +getters.js\n    +mutation-types.js\n    +store.js\n    + app.vue //布局文件\n    + main.js  //入口文件\n    + filter.js //vue的过滤器\n    + router.js //vue路由插件\n\n```\n\n## 项目步骤\n\n1.安装node.js\n\n2.安装项目依赖包\n\n```\nnpm install\n```\n\n3.运行开发环境\n\n```\nnpm run dev \n```\n\n```\n浏览器中访问：localhost:8000\n```\n\n\n4.打包生产文件\n\n```\nnpm run build\n``` \n\n##大致说明\n\n```\nwebpack : 前端模块化打包工具\nvue.js  : vue.js  清量级的mvvm的框架\nbabel   : 项目使用babel编译 可用最新的es6编写我们的javascript （当然用es5写也是一样的）\nvue-loader ：模块化的开发vue插件\nvue-router ：vue的路由插件\nvuex  :  一个专门为 Vue.js 应用设计的状态管理架构\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangweianger%2Fqmx-vue-compent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwangweianger%2Fqmx-vue-compent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangweianger%2Fqmx-vue-compent/lists"}