mirror of https://github.com/wg-easy/wg-easy
15 changed files with 3772 additions and 0 deletions
@ -0,0 +1,30 @@ |
|||||
|
# 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 |
||||
|
|
||||
|
/cypress/videos/ |
||||
|
/cypress/screenshots/ |
||||
|
|
||||
|
# Editor directories and files |
||||
|
.vscode/* |
||||
|
!.vscode/extensions.json |
||||
|
.idea |
||||
|
*.suo |
||||
|
*.ntvs* |
||||
|
*.njsproj |
||||
|
*.sln |
||||
|
*.sw? |
||||
|
|
||||
|
*.tsbuildinfo |
||||
@ -0,0 +1,16 @@ |
|||||
|
<!DOCTYPE html> |
||||
|
<html lang="en"> |
||||
|
<head> |
||||
|
<meta charset="UTF-8"> |
||||
|
<title>WireGuard</title> |
||||
|
<link rel="manifest" href="./manifest.json"> |
||||
|
<link rel="icon" type="image/png" href="./img/favicon.png"> |
||||
|
<link rel="apple-touch-icon" href="./img/apple-touch-icon.png"> |
||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"> |
||||
|
<meta name="apple-mobile-web-app-capable" content="yes"> |
||||
|
</head> |
||||
|
<body class="bg-gray-50 dark:bg-neutral-800"> |
||||
|
<div id="app"></div> |
||||
|
<script type="module" src="/src/main.js"></script> |
||||
|
</body> |
||||
|
</html> |
||||
@ -0,0 +1,8 @@ |
|||||
|
{ |
||||
|
"compilerOptions": { |
||||
|
"paths": { |
||||
|
"@/*": ["./src/*"] |
||||
|
} |
||||
|
}, |
||||
|
"exclude": ["node_modules", "dist"] |
||||
|
} |
||||
File diff suppressed because it is too large
@ -0,0 +1,21 @@ |
|||||
|
{ |
||||
|
"name": "webui", |
||||
|
"version": "0.0.0", |
||||
|
"private": true, |
||||
|
"type": "module", |
||||
|
"scripts": { |
||||
|
"dev": "vite", |
||||
|
"build": "vite build", |
||||
|
"preview": "vite preview" |
||||
|
}, |
||||
|
"dependencies": { |
||||
|
"vue": "^3.3.11" |
||||
|
}, |
||||
|
"devDependencies": { |
||||
|
"@vitejs/plugin-vue": "^4.5.2", |
||||
|
"autoprefixer": "^10.4.16", |
||||
|
"postcss": "^8.4.33", |
||||
|
"tailwindcss": "^3.4.1", |
||||
|
"vite": "^5.0.10" |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,6 @@ |
|||||
|
export default { |
||||
|
plugins: { |
||||
|
tailwindcss: {}, |
||||
|
autoprefixer: {}, |
||||
|
}, |
||||
|
} |
||||
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
@ -0,0 +1,11 @@ |
|||||
|
{ |
||||
|
"name": "WireGuard", |
||||
|
"display": "standalone", |
||||
|
"background_color": "#fff", |
||||
|
"icons": [ |
||||
|
{ |
||||
|
"src": "img/favicon.png", |
||||
|
"type": "image/png" |
||||
|
} |
||||
|
] |
||||
|
} |
||||
File diff suppressed because it is too large
|
After Width: | Height: | Size: 3.0 KiB |
@ -0,0 +1,3 @@ |
|||||
|
@tailwind base; |
||||
|
@tailwind components; |
||||
|
@tailwind utilities; |
||||
@ -0,0 +1,6 @@ |
|||||
|
import './assets/style.css' |
||||
|
|
||||
|
import { createApp } from 'vue' |
||||
|
import App from './App.vue' |
||||
|
|
||||
|
createApp(App).mount('#app') |
||||
@ -0,0 +1,11 @@ |
|||||
|
/** @type {import('tailwindcss').Config} */ |
||||
|
export default { |
||||
|
content: [ |
||||
|
"./index.html", |
||||
|
"./src/**/*.{vue,js,ts,jsx,tsx}", |
||||
|
], |
||||
|
theme: { |
||||
|
extend: {}, |
||||
|
}, |
||||
|
plugins: [], |
||||
|
} |
||||
@ -0,0 +1,16 @@ |
|||||
|
import { fileURLToPath, URL } from 'node:url' |
||||
|
|
||||
|
import { defineConfig } from 'vite' |
||||
|
import vue from '@vitejs/plugin-vue' |
||||
|
|
||||
|
// https://vitejs.dev/config/
|
||||
|
export default defineConfig({ |
||||
|
plugins: [ |
||||
|
vue(), |
||||
|
], |
||||
|
resolve: { |
||||
|
alias: { |
||||
|
'@': fileURLToPath(new URL('./src', import.meta.url)) |
||||
|
} |
||||
|
} |
||||
|
}) |
||||
Loading…
Reference in new issue