# vue2-html-template
**Repository Path**: justit/vue2-html-template
## Basic Information
- **Project Name**: vue2-html-template
- **Description**: 基于html + vue2 + elementUI 开发的项目模板,用于本地测试 or 后端项目iframe注入
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2022-06-28
- **Last Updated**: 2023-10-09
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# vue2-html-template
vue2+html 开发集成项目基础模板
#### 使用方式
yarn / npm install
yarn dev / npm run dev
---
js
- fetch
```
import http from './utils/fetch.js'
http.post(url, data).then()
```
- format
```
import format from './utils/format.js'
format.number()
```
- scroll-to
```
import scrollTo from './utils/scroll-to.js'
scrollTo(0, 800) // 滚动条移动(位置, 时间)
```
---
css
```
// 重置页面默认样式
// flex样式封装
```