# vue3-vite-ts-admin **Repository Path**: deank/vue3-vite-ts-admin ## Basic Information - **Project Name**: vue3-vite-ts-admin - **Description**: 后台管理系统模板。实现表格列互换、预览页编辑框等自定义组件。该项目用于展示一些遇到的常用业务。详情可看README.md - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-03-03 - **Last Updated**: 2022-03-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
## 表格列实现自定义,显示隐藏交换位置。
基于el-table组件进行二次封装为tableColumn,el-table上的api依旧可以在tableColumn上使用。使用方式完全和el-table-column上一样。
示例:/views/table/index
### table-column
## 预览编辑页面组件
基于el-input、el-time-picker二次封装的组件,鼠标移上去显示可以编辑的图标。离开后显示编辑后的数据。可以自由添加表单的校验规则,未通过校验显示红色报警,保持编辑状态。
目前实现`input` `time-picker`等组件的封装,后续会全部实现。原理和input类似。
示例:/views/table/editPreview
### fieldEdit
## el-drawer 拖拽功能
使用的指令的形式,可以自由改变弹窗的宽度。使用方式,在el-drawer外层的div添加 `
## Getting started
```bash
# clone the project
git clone https://gitee.com/gqy-oray/vue3-vite-ts-admin
# enter the project directory
cd vue3-vite-ts-admin
# install dependency
npm install
# develop
npm run dev
```
This will automatically open http://localhost:5001
## Build
```bash
# build for test environment
npm run build:stage
# build for production environment
npm run build:prod
```
## Advanced
```bash
# code format check
npm run lint
# code format check and auto fix
npm run lint -- --fix
```
## Browsers support
Note: Vue3 is not supported the Internet Explorer
Modern browsers and Internet Explorer 11+.
| [
](http://godban.github.io/browsers-support-badges/)IE / Edge | [
](http://godban.github.io/browsers-support-badges/)Firefox | [
](http://godban.github.io/browsers-support-badges/)Chrome | [
](http://godban.github.io/browsers-support-badges/)Safari |
| --------- | --------- | --------- | --------- |
|Edge| last 2 versions| last 2 versions| last 2 versions
## License
Copyright (c) 2022-present Rachel