Skip to content

Commit f72df1f

Browse files
committed
feat(chore): migration to vue3 with element-plus
1 parent 67fb43f commit f72df1f

62 files changed

Lines changed: 19949 additions & 7848 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ module.exports = {
99
plugins: ['vue'],
1010
extends: ['plugin:vue/vue3-essential', '@vue/airbnb'],
1111
rules: {
12+
'vue/custom-event-name-casing': 'off',
13+
'vue/no-deprecated-slot-attribute': 'off',
14+
'vue/experimental-script-setup-vars': 'off',
1215
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
1316
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
14-
'max-len': 0,
1517
'no-shadow': 0,
16-
camelcase: 0, // 变量可以用下划线
1718
'no-plusplus': 0, // 禁止使用++,--
1819
'guard-for-in': 0,
1920
'no-extra-semi': 0, // 和prettier冲突

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ node_modules
1111
npm-debug.log*
1212
yarn-debug.log*
1313
yarn-error.log*
14+
pnpm-debug.log*
1415

1516

1617
# Editor directories and files
@@ -20,4 +21,4 @@ yarn-error.log*
2021
*.ntvs*
2122
*.njsproj
2223
*.sln
23-
*.sw*
24+
*.sw?

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
![](https://img.shields.io/badge/developer-@GongJS-3963bc.svg)
1818
![](https://img.shields.io/badge/developer-@quanquan-3963bc.svg)
1919

20+
## TODO
21+
22+
<!-- vue/no-deprecated-slot-attribute -->
23+
2024
## 简介
2125

2226
Lin-CMS 是林间有风团队经过大量项目实践所提炼出的一套**内容管理系统框架**

babel.config.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
/* eslint-disable comma-dangle */
22
module.exports = {
3-
presets: [
4-
[
5-
'@vue/app',
6-
{
7-
useBuiltIns: 'entry'
8-
}
9-
]
10-
],
3+
presets: [['@vue/cli-plugin-babel/preset']],
114
plugins: [
125
[
136
'component',
147
{
15-
libraryName: 'element-ui',
8+
libraryName: 'element-plus',
169
styleLibraryName: 'theme-chalk',
1710
},
1811
],

0 commit comments

Comments
 (0)