# chen-smart **Repository Path**: liuyangyangproject/chen-smart ## Basic Information - **Project Name**: chen-smart - **Description**: 演示项目,分享给需要的 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-10-31 - **Last Updated**: 2022-06-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 接口、组件封装以及常用操作演示 用 vue-cli 搭建了这个项目,通过不同方式写了一个 AJAX 获取列表,并在前端分页浏览的功能,用来演示接口、组件封装以及常用操作 涉及到的知识点有(外包项目的大多数需求都差不多): 1. 路由控制 2. 模块的使用 3. AJAX 接口的封装 4. 数据接口的封装 5. 组件的封装 6. 数据绑定 7. 模板的常用操作,比如变量、条件、循环、事件绑定 大部分是流程方面的知识,剩下的主要是逻辑思维,最后只有分页的实现需要一点点编程思维 ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Run your tests ``` npm run test ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/).