chore: adding tailwind to the stack (but we can remove it if we don't need it)

This commit is contained in:
jezzahehn 2025-05-10 15:46:45 -04:00
parent 81d9034070
commit 33c6b0cd48
6 changed files with 716 additions and 83 deletions

776
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -9,7 +9,9 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"@tailwindcss/vite": "^4.1.6",
"bulma": "^1.0.4", "bulma": "^1.0.4",
"tailwindcss": "^4.1.6",
"vue": "^3.5.13" "vue": "^3.5.13"
}, },
"devDependencies": { "devDependencies": {

View file

@ -1,9 +1,12 @@
<script setup lang="ts"> <script setup lang="ts">
import HelloWorld from './components/HelloWorld.vue' import HelloWorld from './components/HelloWorld.vue'
// import SideBar from './components/organisms/SideBar.vue'
import './assets/style.scss' import './assets/style.scss'
import 'bulma/css/bulma.css'
</script> </script>
<template> <template>
<!-- <SideBar /> -->
<div> <div>
<a href="https://vite.dev" target="_blank"> <a href="https://vite.dev" target="_blank">
<img src="/vite.svg" class="logo" alt="Vite logo" /> <img src="/vite.svg" class="logo" alt="Vite logo" />
@ -12,7 +15,7 @@ import './assets/style.scss'
<img src="./assets/vue.svg" class="logo" alt="Vue logo" /> <img src="./assets/vue.svg" class="logo" alt="Vue logo" />
</a> </a>
</div> </div>
<HelloWorld msg="Vite + Vue" /> <HelloWorld msg="Vite + Vue = bråtula!" />
</template> </template>
<style scoped> <style scoped>

View file

@ -4,4 +4,10 @@ $viossa-blue: #00baff;
body { body {
background-color: $viossa-blue; background-color: $viossa-blue;
font: normal Verdana, Arial, sans-serif;
color: black;
} }
h1 {
font-size: 48px;
}

View file

@ -0,0 +1,7 @@
<script setup>
</script>
<template>
</template>

View file

@ -1,9 +1,10 @@
import { defineConfig } from 'vite' import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue' import vue from '@vitejs/plugin-vue'
import tailwindcss from '@tailwindcss/vite'
// https://vite.dev/config/ // https://vite.dev/config/
export default defineConfig({ export default defineConfig({
plugins: [vue()], plugins: [tailwindcss(), vue()],
build: { build: {
outDir: '/var/www/viossa.net', outDir: '/var/www/viossa.net',
emptyOutDir: true, emptyOutDir: true,