diff --git a/babel.config.js b/babel.config.js
index e955840..b01c382 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -1,5 +1,5 @@
module.exports = {
presets: [
- '@vue/cli-plugin-babel/preset'
+ ['@vue/cli-plugin-babel/preset', { useBuiltIns: 'entry', corejs: 3 }]
]
}
diff --git a/eslint.config.js b/eslint.config.js
new file mode 100644
index 0000000..0025866
--- /dev/null
+++ b/eslint.config.js
@@ -0,0 +1,21 @@
+import pluginVue from 'eslint-plugin-vue'
+import globals from 'globals'
+
+export default [
+ // add more generic rulesets here, such as:
+ // js.configs.recommended,
+ ...pluginVue.configs['flat/recommended'],
+ // ...pluginVue.configs['flat/vue2-recommended'], // Use this if you are using Vue.js 2.x.
+ {
+ rules: {
+ // override/add rules settings here, such as:
+ // 'vue/no-unused-vars': 'error'
+ },
+ languageOptions: {
+ sourceType: 'module',
+ globals: {
+ ...globals.browser
+ }
+ }
+ }
+]
diff --git a/package.json b/package.json
index f4faf00..7c1dfec 100644
--- a/package.json
+++ b/package.json
@@ -4,45 +4,31 @@
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
- "build": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build",
- "lint": "vue-cli-service lint"
+ "build": "vue-cli-service build",
+ "lint": "eslint src"
},
"dependencies": {
- "autoprefixer": "^9.8.7",
+ "@tailwindcss/postcss": "^4.1.18",
"core-js": "^3.6.5",
"marked": "^3.0.4",
- "postcss": "^7.0.38",
+ "postcss": "^8.4",
"sass": "^1.42.1",
"sass-loader": "^10",
- "tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.16",
+ "tailwindcss": "^4.1.18",
"vue": "^3.0.0"
},
"devDependencies": {
- "@vue/cli-plugin-babel": "~4.5.0",
- "@vue/cli-plugin-eslint": "~4.5.0",
- "@vue/cli-service": "~4.5.0",
- "@vue/compiler-sfc": "^3.0.0",
- "babel-eslint": "^10.1.0",
- "eslint": "^6.7.2",
- "eslint-plugin-vue": "^7.0.0"
- },
- "eslintConfig": {
- "root": true,
- "env": {
- "node": true
- },
- "extends": [
- "plugin:vue/vue3-essential",
- "eslint:recommended"
- ],
- "parserOptions": {
- "parser": "babel-eslint"
- },
- "rules": {}
+ "@vue/cli-plugin-babel": "~5.0.8",
+ "@vue/cli-service": "~5.0.8",
+ "@vue/compiler-sfc": "^3.4",
+ "eslint": "^10.0.0",
+ "eslint-plugin-vue": "^10.8.0",
+ "globals": "^17.3.0",
+ "vue-eslint-parser": "^10.4.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
-}
+}
\ No newline at end of file
diff --git a/postcss.config.js b/postcss.config.js
index 33ad091..52b9b4b 100644
--- a/postcss.config.js
+++ b/postcss.config.js
@@ -1,6 +1,5 @@
module.exports = {
plugins: {
- tailwindcss: {},
- autoprefixer: {},
+ '@tailwindcss/postcss': {},
},
}
diff --git a/src/App.vue b/src/App.vue
index b061380..8f850e6 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,32 +1,32 @@
-