Archived
chore: remove unused Vite/Vue scaffolding files
This commit is contained in:
1 parent
205c9494d6
commit
ed65c111b3
5 files changed
-155
No files matched your search
-89
@@ -1,89 +0,0 @@
|
||||
<template>
|
||||
<div class="app">
|
||||
<header class="app-header">
|
||||
<h1>SmallClawViewer</h1>
|
||||
<p class="subtitle">Arvex workspace</p>
|
||||
</header>
|
||||
|
||||
<nav class="tab-nav">
|
||||
<button
|
||||
:class="{ active: activeTab === 'projects' }"
|
||||
@click="activeTab = 'projects'"
|
||||
>
|
||||
Projects
|
||||
</button>
|
||||
<button
|
||||
:class="{ active: activeTab === 'workspace' }"
|
||||
@click="activeTab = 'workspace'"
|
||||
>
|
||||
Workspace
|
||||
</button>
|
||||
</nav>
|
||||
|
||||
<main class="tab-content">
|
||||
<ProjectsView v-if="activeTab === 'projects'" />
|
||||
<WorkspaceView v-if="activeTab === 'workspace'" />
|
||||
</main>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue'
|
||||
import ProjectsView from './views/ProjectsView.vue'
|
||||
import WorkspaceView from './views/WorkspaceView.vue'
|
||||
|
||||
const activeTab = ref('projects')
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.app {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
min-height: 100dvh;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.app-header {
|
||||
padding: 1.5rem 1rem 1rem;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.app-header h1 {
|
||||
font-size: 1.4rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-size: 0.85rem;
|
||||
color: #666;
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
|
||||
.tab-nav {
|
||||
display: flex;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.tab-nav button {
|
||||
flex: 1;
|
||||
padding: 0.875rem 1rem;
|
||||
border: none;
|
||||
background: none;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
cursor: pointer;
|
||||
border-bottom: 2px solid transparent;
|
||||
transition: all 0.15s;
|
||||
}
|
||||
|
||||
.tab-nav button.active {
|
||||
color: #0d6efd;
|
||||
border-bottom-color: #0d6efd;
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
padding: 1rem;
|
||||
}
|
||||
</style>
|
||||
@@ -1,4 +0,0 @@
|
||||
import { createApp } from 'vue'
|
||||
import App from './App.vue'
|
||||
|
||||
createApp(App).mount('#app')
|
||||
@@ -1,26 +0,0 @@
|
||||
<template>
|
||||
<div class="projects-view">
|
||||
<h2>Projects</h2>
|
||||
<p class="hint">Project list from PROJECTS.md will appear here.</p>
|
||||
<sl-button variant="primary" @click="$emit('switch-tab', 'workspace')">
|
||||
Go to Workspace
|
||||
</sl-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
// Project list will be loaded from PROJECTS.md
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.projects-view h2 {
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.hint {
|
||||
color: #888;
|
||||
font-size: 0.875rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
</style>
|
||||
@@ -1,26 +0,0 @@
|
||||
<template>
|
||||
<div class="workspace-view">
|
||||
<h2>Workspace</h2>
|
||||
<p class="hint">File browser will appear here.</p>
|
||||
<sl-button variant="primary" @click="$emit('switch-tab', 'projects')">
|
||||
Go to Projects
|
||||
</sl-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
// File browser will go here
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.workspace-view h2 {
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.hint {
|
||||
color: #888;
|
||||
font-size: 0.875rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
</style>
|
||||
@@ -1,10 +0,0 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
server: {
|
||||
host: '127.0.0.1',
|
||||
port: 3000
|
||||
}
|
||||
})
|
||||
Reference in new issue
Block a user