Upgrade deps & add tailwind

master
Araozu 2024-05-06 16:41:41 -05:00
parent c9563fe611
commit d5fe1f0a23
6 changed files with 923 additions and 424 deletions

View File

@ -11,20 +11,23 @@
},
"dependencies": {
"pug": "^3.0.2",
"sass": "^1.69.5",
"vue": "^3.3.4",
"vue-router": "^4.2.5",
"sass": "^1.76.0",
"vue": "^3.4.26",
"vue-router": "^4.3.2",
"vuex": "^4.1.0",
"vuex-persist": "^3.1.3"
},
"devDependencies": {
"@tsconfig/node18": "^18.2.2",
"@types/node": "^18.18.5",
"@vitejs/plugin-vue": "^4.4.0",
"@tsconfig/node18": "^18.2.4",
"@types/node": "^18.19.32",
"@vitejs/plugin-vue": "^4.6.2",
"@vue/tsconfig": "^0.4.0",
"npm-run-all2": "^6.1.1",
"typescript": "~5.2.0",
"vite": "^4.4.11",
"vue-tsc": "^1.8.19"
"autoprefixer": "^10.4.19",
"npm-run-all2": "^6.1.2",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.3",
"typescript": "^5.4.5",
"vite": "^4.5.3",
"vue-tsc": "^1.8.27"
}
}

File diff suppressed because it is too large Load Diff

6
postcss.config.js Normal file
View File

@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}

3
src/assets/tailwind.css Normal file
View File

@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

View File

@ -2,6 +2,7 @@ import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import "./assets/tailwind.css"
import "./assets/global.sass"
const app = createApp(App)

12
tailwind.config.js Normal file
View File

@ -0,0 +1,12 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./index.html",
"./src/**/*.{vue,js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [],
}