Skip to content

Commit

Permalink
1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zayyo123 committed Jul 10, 2022
0 parents commit 6723ad3
Show file tree
Hide file tree
Showing 158 changed files with 43,627 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not dead
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# http://editorconfig.org

root = true

[*] # 表示所有文件适用
charset = utf-8 # 设置文件字符集为 utf-8
indent_style = space # 缩进风格(tab | space)
indent_size = 2 # 缩进大小
end_of_line = lf # 控制换行类型(lf | cr | crlf)
trim_trailing_whitespace = true # 去除行首的任意空白字符
insert_final_newline = true # 始终在文件末尾插入一个新行

[*.md] # 表示仅 md 文件适用以下规则
max_line_length = off
trim_trailing_whitespace = false
2 changes: 2 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VUE_APP_BASE_URL = /api
VUE_APP_TIME_OUT = 10000
1 change: 1 addition & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VUE_APP_BASE_URL = http://152.136.185.210:4000
Empty file added .env.test
Empty file.
25 changes: 25 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
root: true,
env: {
node: true
},
extends: [
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/typescript/recommended",
"@vue/prettier",
"@vue/prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
parserOptions: {
ecmaVersion: 2020
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
}
};
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.DS_Store
node_modules
/dist


# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit
9 changes: 9 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/dist/*
.local
.output.js
/node_modules/**

**/*.svg
**/*.sh

/public/*
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"useTabs": false,
"tabWidth": 2,
"printWidth": 80,
"singleQuote": false,
"trailingComma": "none",
"semi": true
}
50 changes: 50 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
## 基于 Vue3+TypeScript 的后台管理系统

> ### 1.线上体验
[Vue3+TS 后台管理系统在线体验](http://cms..ltd)

**客官如果觉得还不戳,github 上不妨顺手点个 :star:,鼓励一下吧。**

> ### 2.项目运行
- git clone 到本地
- cd 到 vue3_ts_cms 目录下运行:

```
npm install 或者 cnpm install
```

- 运行

```
npm run serve
```

- 浏览器打开 http://localost:8080/

> ### 3.项目功能(部分展示)
#### 3.1 登陆页面 (默认用户&密码:zayyo,123456)

![image-20210827235245708](https://img-blog.csdnimg.cn/972393c864c74d1cb3f368ab88246dcc.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBA5b-Y5b-Y56KO5paMYmlu,size_20,color_FFFFFF,t_70,g_se,x_16)

#### 3.2 页面展示 (侧边菜单 - 技术栈展示)

![image-20210827235836987](https://gitee.com/coderfzb/typora-imges/raw/master/project_images%20/image-20210827235836987.png)

#### 3.3 系统管理(搜索联动)

![image-20210827235923079](https://gitee.com/coderfzb/typora-imges/raw/master/project_images%20/image-20210827235923079.png)

#### 3.4 商品数据展示(可视化页面)

![image-20210828000049336](https://gitee.com/coderfzb/typora-imges/raw/master/project_images%20/image-20210828000049336.png)

> ### 4.项目提交
```
npm run commit
git commit -m "message" --no-verify
git commit --no-verify -am "7/10"
```
14 changes: 14 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
plugins: [
[
"import",
{
libraryName: "element-plus",
customStyleName: (name) => {
return `element-plus/lib/theme-chalk/${name}.css`;
}
}
]
],
presets: ["@vue/cli-plugin-babel/preset"]
};
Empty file added client
Empty file.
3 changes: 3 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ["@commitlint/config-conventional"]
};
Loading

0 comments on commit 6723ad3

Please sign in to comment.