You've already forked agentic-coding-workflow
feat(web): vite + vue 3 + ts + tailwind + naive ui scaffolding
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<div class="min-h-screen flex items-center justify-center">
|
||||
<p class="text-lg">Agent Coding Workflow — scaffolding ready.</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
// 占位组件:I5 接入 router 后改写为 RouterView + NConfigProvider。
|
||||
</script>
|
||||
@@ -0,0 +1,11 @@
|
||||
import { createApp } from 'vue'
|
||||
import { createPinia } from 'pinia'
|
||||
|
||||
import App from './App.vue'
|
||||
|
||||
import './styles/tailwind.css'
|
||||
import './styles/tokens.css'
|
||||
|
||||
const app = createApp(App)
|
||||
app.use(createPinia())
|
||||
app.mount('#app')
|
||||
@@ -0,0 +1,3 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
@variant dark (&:where(.dark, .dark *));
|
||||
@@ -0,0 +1,20 @@
|
||||
:root {
|
||||
--color-bg: #ffffff;
|
||||
--color-fg: #1a1a1a;
|
||||
--color-muted: #6b7280;
|
||||
--color-accent: #2563eb;
|
||||
}
|
||||
|
||||
.dark {
|
||||
--color-bg: #0f1115;
|
||||
--color-fg: #e5e7eb;
|
||||
--color-muted: #9ca3af;
|
||||
--color-accent: #60a5fa;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--color-bg);
|
||||
color: var(--color-fg);
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
|
||||
Arial, "Microsoft YaHei", sans-serif;
|
||||
}
|
||||
Reference in New Issue
Block a user