feat(frontend): scaffold Vue 3 + Vite + Tailwind Gruvbox
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
6
frontend/src/App.vue
Normal file
6
frontend/src/App.vue
Normal file
@@ -0,0 +1,6 @@
|
||||
<template>
|
||||
<RouterView />
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { RouterView } from 'vue-router'
|
||||
</script>
|
||||
7
frontend/src/main.ts
Normal file
7
frontend/src/main.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { createApp } from 'vue'
|
||||
import { createPinia } from 'pinia'
|
||||
import App from './App.vue'
|
||||
import router from './router'
|
||||
import './style.css'
|
||||
|
||||
createApp(App).use(createPinia()).use(router).mount('#app')
|
||||
6
frontend/src/router/index.ts
Normal file
6
frontend/src/router/index.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
|
||||
export default createRouter({
|
||||
history: createWebHistory(),
|
||||
routes: [],
|
||||
})
|
||||
14
frontend/src/style.css
Normal file
14
frontend/src/style.css
Normal file
@@ -0,0 +1,14 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
body {
|
||||
@apply bg-bg text-text font-mono;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
::-webkit-scrollbar { width: 6px; }
|
||||
::-webkit-scrollbar-track { background: #1d2021; }
|
||||
::-webkit-scrollbar-thumb { background: #504945; border-radius: 3px; }
|
||||
Reference in New Issue
Block a user