Removi pastas

This commit is contained in:
Caio1w
2025-10-27 17:35:33 -03:00
parent eb43b636c0
commit f3a05d4bb4
16 changed files with 2790 additions and 10 deletions

View File

View File

@@ -1,10 +0,0 @@
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CtrlCash</title>
</head>
<body>
</body>
</html>

36
vue/.gitignore vendored Normal file
View File

@@ -0,0 +1,36 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
.DS_Store
dist
dist-ssr
coverage
*.local
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
*.tsbuildinfo
.eslintcache
# Cypress
/cypress/videos/
/cypress/screenshots/
# Vitest
__screenshots__/

3
vue/.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"recommendations": ["Vue.volar"]
}

38
vue/README.md Normal file
View File

@@ -0,0 +1,38 @@
# vue
This template should help get you started developing with Vue 3 in Vite.
## Recommended IDE Setup
[VS Code](https://code.visualstudio.com/) + [Vue (Official)](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
## Recommended Browser Setup
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
- [Vue.js devtools](https://chromewebstore.google.com/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd)
- [Turn on Custom Object Formatter in Chrome DevTools](http://bit.ly/object-formatters)
- Firefox:
- [Vue.js devtools](https://addons.mozilla.org/en-US/firefox/addon/vue-js-devtools/)
- [Turn on Custom Object Formatter in Firefox DevTools](https://fxdx.dev/firefox-devtools-custom-object-formatters/)
## Customize configuration
See [Vite Configuration Reference](https://vite.dev/config/).
## Project Setup
```sh
npm install
```
### Compile and Hot-Reload for Development
```sh
npm run dev
```
### Compile and Minify for Production
```sh
npm run build
```

13
vue/index.html Normal file
View File

@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CtrlCash</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>

8
vue/jsconfig.json Normal file
View File

@@ -0,0 +1,8 @@
{
"compilerOptions": {
"paths": {
"@/*": ["./src/*"]
}
},
"exclude": ["node_modules", "dist"]
}

2561
vue/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

23
vue/package.json Normal file
View File

@@ -0,0 +1,23 @@
{
"name": "vue",
"version": "0.0.0",
"private": true,
"type": "module",
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.5.22",
"vue-router": "^4.6.3"
},
"devDependencies": {
"@vitejs/plugin-vue": "^6.0.1",
"vite": "^7.1.11",
"vite-plugin-vue-devtools": "^8.0.3"
}
}

BIN
vue/public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

12
vue/src/App.vue Normal file
View File

@@ -0,0 +1,12 @@
<script setup>
</script>
<template>
<router-view />
</template>
<style >
* {
margin: 0;
padding: 0;
}
</style>

View File

@@ -0,0 +1,46 @@
<script setup>
</script>
<template>
<header>
<div id="logo">
<router-link to="/">
<img src="@/assets/CtrlCash.png" alt="CtrlCash">
</router-link>
</div>
<nav class="links">
<router-link to="/about">About</router-link>
<router-link to="/login">Login</router-link>
</nav>
</header>
</template>
<style scoped>
* {
margin: 0;
}
header {
display: flex;
justify-content: space-between;
background-color: #173967;
box-sizing: border-box;
align-items: center;
height: 60px;
width: 100%;
padding: 0 20px;
}
header a {
color: white;
text-decoration: none;
}
#logo {
font-size: 34px ;
}
.links {
display: flex;
gap: 60px;
font-size: 20px;
}
#logo img {
height: 40px;
}
</style>

9
vue/src/main.js Normal file
View File

@@ -0,0 +1,9 @@
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
const app = createApp(App)
app.use(router)
app.mount('#app')

15
vue/src/router/index.js Normal file
View File

@@ -0,0 +1,15 @@
import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '@/views/HomeView.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
name: 'home',
component: HomeView,
}
],
})
export default router

View File

@@ -0,0 +1,8 @@
<script setup>
import HeaderPublic from '@/components/HeaderPublic.vue'
</script>
<template>
<HeaderPublic />
</template>
<style scoped>
</style>

18
vue/vite.config.js Normal file
View File

@@ -0,0 +1,18 @@
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueDevTools from 'vite-plugin-vue-devtools'
// https://vite.dev/config/
export default defineConfig({
plugins: [
vue(),
vueDevTools(),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
},
},
})