Skip to content

Commit

Permalink
Upgrade to Vite / Vue 2.7 (#98)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people committed Jun 18, 2024
1 parent 67629ee commit 03d2ba4
Show file tree
Hide file tree
Showing 35 changed files with 10,119 additions and 26,797 deletions.
7 changes: 4 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ module.exports = {
env: {
node: true
},
'extends': [
'plugin:vue/essential',
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/standard'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
parserOptions: {
parser: 'babel-eslint'
ecmaVersion: 'latest'
}
}
5 changes: 0 additions & 5 deletions babel.config.js

This file was deleted.

16 changes: 16 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tailwind Config Viewer</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
<noscript>
<strong>Tailwind Config Viewer doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
</body>
</html>
5 changes: 3 additions & 2 deletions jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"paths": {
"@/*": ["./src/*"]
}
}
}
},
"exclude": ["node_modules", "dist"]
}
Loading

0 comments on commit 03d2ba4

Please sign in to comment.