Init
This commit is contained in:
commit
f4a35f3cb5
24
.gitignore
vendored
Normal file
24
.gitignore
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
pnpm-debug.log*
|
||||||
|
lerna-debug.log*
|
||||||
|
|
||||||
|
node_modules
|
||||||
|
dist
|
||||||
|
dist-ssr
|
||||||
|
*.local
|
||||||
|
|
||||||
|
# Editor directories and files
|
||||||
|
.vscode/*
|
||||||
|
!.vscode/extensions.json
|
||||||
|
.idea
|
||||||
|
.DS_Store
|
||||||
|
*.suo
|
||||||
|
*.ntvs*
|
||||||
|
*.njsproj
|
||||||
|
*.sln
|
||||||
|
*.sw?
|
3
.vscode/extensions.json
vendored
Normal file
3
.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"recommendations": ["Vue.volar"]
|
||||||
|
}
|
12
index.html
Normal file
12
index.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>Router Dashboard</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
<script type="module" src="/src/main.ts"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
1186
package-lock.json
generated
Normal file
1186
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
20
package.json
Normal file
20
package.json
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
"name": "router-ui-frontend",
|
||||||
|
"private": true,
|
||||||
|
"version": "0.0.0",
|
||||||
|
"type": "module",
|
||||||
|
"scripts": {
|
||||||
|
"dev": "vite",
|
||||||
|
"build": "vue-tsc -b && vite build",
|
||||||
|
"preview": "vite preview"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"vue": "^3.4.37"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@vitejs/plugin-vue": "^5.1.2",
|
||||||
|
"typescript": "^5.5.3",
|
||||||
|
"vite": "^5.4.1",
|
||||||
|
"vue-tsc": "^2.0.29"
|
||||||
|
}
|
||||||
|
}
|
3
src/App.vue
Normal file
3
src/App.vue
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<template>
|
||||||
|
<h1>Router</h1>
|
||||||
|
</template>
|
0
src/advancedDashboard/Administration/Logs.vue
Normal file
0
src/advancedDashboard/Administration/Logs.vue
Normal file
0
src/advancedDashboard/Administration/Password.vue
Normal file
0
src/advancedDashboard/Administration/Password.vue
Normal file
0
src/advancedDashboard/Configuration/LANSettings.vue
Normal file
0
src/advancedDashboard/Configuration/LANSettings.vue
Normal file
0
src/advancedDashboard/Configuration/LEDSettings.vue
Normal file
0
src/advancedDashboard/Configuration/LEDSettings.vue
Normal file
0
src/advancedDashboard/Configuration/PortFoward.vue
Normal file
0
src/advancedDashboard/Configuration/PortFoward.vue
Normal file
0
src/advancedDashboard/Configuration/QoSSettings.vue
Normal file
0
src/advancedDashboard/Configuration/QoSSettings.vue
Normal file
0
src/advancedDashboard/Configuration/RouterMode.vue
Normal file
0
src/advancedDashboard/Configuration/RouterMode.vue
Normal file
0
src/advancedDashboard/Configuration/WANSettings.vue
Normal file
0
src/advancedDashboard/Configuration/WANSettings.vue
Normal file
0
src/advancedDashboard/FileShare/MediaServer.vue
Normal file
0
src/advancedDashboard/FileShare/MediaServer.vue
Normal file
0
src/advancedDashboard/FileShare/NetworkFolders.vue
Normal file
0
src/advancedDashboard/FileShare/NetworkFolders.vue
Normal file
0
src/advancedDashboard/Overview.vue
Normal file
0
src/advancedDashboard/Overview.vue
Normal file
0
src/advancedDashboard/Security/AccessControl.vue
Normal file
0
src/advancedDashboard/Security/AccessControl.vue
Normal file
0
src/advancedDashboard/Security/BlockService.vue
Normal file
0
src/advancedDashboard/Security/BlockService.vue
Normal file
0
src/advancedDashboard/Security/BlockSites.vue
Normal file
0
src/advancedDashboard/Security/BlockSites.vue
Normal file
0
src/advancedDashboard/Security/EmailSettings.vue
Normal file
0
src/advancedDashboard/Security/EmailSettings.vue
Normal file
0
src/advancedDashboard/Security/Schedule.vue
Normal file
0
src/advancedDashboard/Security/Schedule.vue
Normal file
0
src/basicDashboard/DeviceList.vue
Normal file
0
src/basicDashboard/DeviceList.vue
Normal file
0
src/basicDashboard/FileShare.vue
Normal file
0
src/basicDashboard/FileShare.vue
Normal file
0
src/basicDashboard/GuestNetwork.vue
Normal file
0
src/basicDashboard/GuestNetwork.vue
Normal file
0
src/basicDashboard/InternetSetup.vue
Normal file
0
src/basicDashboard/InternetSetup.vue
Normal file
0
src/basicDashboard/Overview.vue
Normal file
0
src/basicDashboard/Overview.vue
Normal file
0
src/basicDashboard/QoS.vue
Normal file
0
src/basicDashboard/QoS.vue
Normal file
0
src/basicDashboard/Wireless.vue
Normal file
0
src/basicDashboard/Wireless.vue
Normal file
0
src/components/Footer.vue
Normal file
0
src/components/Footer.vue
Normal file
0
src/components/LoadingBar.vue
Normal file
0
src/components/LoadingBar.vue
Normal file
0
src/components/Navbar.vue
Normal file
0
src/components/Navbar.vue
Normal file
4
src/main.ts
Normal file
4
src/main.ts
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
import { createApp } from "vue";
|
||||||
|
import App from "./App.vue";
|
||||||
|
|
||||||
|
createApp(App).mount("#app");
|
0
src/pages/AdvancedDashboard.vue
Normal file
0
src/pages/AdvancedDashboard.vue
Normal file
0
src/pages/BasicDashboard.vue
Normal file
0
src/pages/BasicDashboard.vue
Normal file
0
src/pages/LoginPage.vue
Normal file
0
src/pages/LoginPage.vue
Normal file
0
src/pages/RegisterPage.vue
Normal file
0
src/pages/RegisterPage.vue
Normal file
1
src/vite-env.d.ts
vendored
Normal file
1
src/vite-env.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/// <reference types="vite/client" />
|
24
tsconfig.app.json
Normal file
24
tsconfig.app.json
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ES2020",
|
||||||
|
"useDefineForClassFields": true,
|
||||||
|
"module": "ESNext",
|
||||||
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
||||||
|
"skipLibCheck": true,
|
||||||
|
|
||||||
|
/* Bundler mode */
|
||||||
|
"moduleResolution": "bundler",
|
||||||
|
"allowImportingTsExtensions": true,
|
||||||
|
"isolatedModules": true,
|
||||||
|
"moduleDetection": "force",
|
||||||
|
"noEmit": true,
|
||||||
|
"jsx": "preserve",
|
||||||
|
|
||||||
|
/* Linting */
|
||||||
|
"strict": true,
|
||||||
|
"noUnusedLocals": true,
|
||||||
|
"noUnusedParameters": true,
|
||||||
|
"noFallthroughCasesInSwitch": true
|
||||||
|
},
|
||||||
|
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"]
|
||||||
|
}
|
7
tsconfig.json
Normal file
7
tsconfig.json
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"files": [],
|
||||||
|
"references": [
|
||||||
|
{ "path": "./tsconfig.app.json" },
|
||||||
|
{ "path": "./tsconfig.node.json" }
|
||||||
|
]
|
||||||
|
}
|
22
tsconfig.node.json
Normal file
22
tsconfig.node.json
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ES2022",
|
||||||
|
"lib": ["ES2023"],
|
||||||
|
"module": "ESNext",
|
||||||
|
"skipLibCheck": true,
|
||||||
|
|
||||||
|
/* Bundler mode */
|
||||||
|
"moduleResolution": "bundler",
|
||||||
|
"allowImportingTsExtensions": true,
|
||||||
|
"isolatedModules": true,
|
||||||
|
"moduleDetection": "force",
|
||||||
|
"noEmit": true,
|
||||||
|
|
||||||
|
/* Linting */
|
||||||
|
"strict": true,
|
||||||
|
"noUnusedLocals": true,
|
||||||
|
"noUnusedParameters": true,
|
||||||
|
"noFallthroughCasesInSwitch": true
|
||||||
|
},
|
||||||
|
"include": ["vite.config.ts"]
|
||||||
|
}
|
7
vite.config.ts
Normal file
7
vite.config.ts
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import { defineConfig } from 'vite'
|
||||||
|
import vue from '@vitejs/plugin-vue'
|
||||||
|
|
||||||
|
// https://vitejs.dev/config/
|
||||||
|
export default defineConfig({
|
||||||
|
plugins: [vue()],
|
||||||
|
})
|
Loading…
Reference in a new issue