Skip to content

Commit 03d2ba4

Browse files
davestewartrogden
andauthored
Upgrade to Vite / Vue 2.7 (#98)
* Upgrade build dependencies * Add Vite proxy server * Migrate src files * Remove dynamic import in favor of direct import of section components --------- Co-authored-by: Dave Stewart <dev@davestewart.co.uk> Co-authored-by: Ryan Ogden <ryaneogden@gmail.com>
1 parent 67629ee commit 03d2ba4

35 files changed

+10119
-26797
lines changed

.eslintrc.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@ module.exports = {
33
env: {
44
node: true
55
},
6-
'extends': [
7-
'plugin:vue/essential',
6+
extends: [
7+
'plugin:vue/vue3-essential',
8+
'eslint:recommended',
89
'@vue/standard'
910
],
1011
rules: {
1112
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
1213
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
1314
},
1415
parserOptions: {
15-
parser: 'babel-eslint'
16+
ecmaVersion: 'latest'
1617
}
1718
}

babel.config.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<link rel="icon" href="/favicon.ico">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Tailwind Config Viewer</title>
8+
</head>
9+
<body>
10+
<div id="app"></div>
11+
<script type="module" src="/src/main.js"></script>
12+
<noscript>
13+
<strong>Tailwind Config Viewer doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
14+
</noscript>
15+
</body>
16+
</html>

jsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"paths": {
55
"@/*": ["./src/*"]
66
}
7-
}
8-
}
7+
},
8+
"exclude": ["node_modules", "dist"]
9+
}

0 commit comments

Comments
 (0)