diff --git a/.gitignore b/.gitignore index 403adbc..5e7b548 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ pnpm-debug.log* *.njsproj *.sln *.sw? +/src/trash/ diff --git a/package-lock.json b/package-lock.json index f01975a..5565e6c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,8 +8,10 @@ "name": "facti13-vue-material", "version": "0.1.0", "dependencies": { + "axios": "^1.5.1", "core-js": "^3.8.3", - "vue": "^2.6.14" + "vue": "^2.6.14", + "vue-material": "^1.0.0-beta-16" }, "devDependencies": { "@babel/core": "^7.12.16", @@ -3429,6 +3431,11 @@ "lodash": "^4.17.14" } }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, "node_modules/at-least-node": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", @@ -3475,6 +3482,16 @@ "postcss": "^8.1.0" } }, + "node_modules/axios": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.5.1.tgz", + "integrity": "sha512-Q28iYCWzNHjAm+yEAot5QaAMxhMghWLFVf7rRdwhUI+c2jix2DUXjAHXVi+s1ibs3mjPO/cCgbA++3BjD0vP/A==", + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, "node_modules/babel-loader": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.3.0.tgz", @@ -4149,6 +4166,17 @@ "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", "dev": true }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, "node_modules/commander": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", @@ -4925,6 +4953,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/depd": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", @@ -6156,7 +6192,6 @@ "version": "1.15.3", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==", - "dev": true, "funding": [ { "type": "individual", @@ -6172,6 +6207,27 @@ } } }, + "node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/format-thousands": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/format-thousands/-/format-thousands-1.1.1.tgz", + "integrity": "sha512-OrNyhmdvoDfpcUVU3N4SqjfLTfnYVmc8JFiUo3Ar1IwxLv/QJC9PpU5dYuLrHTYzpLC8hF9aCBsfmgaoHlWJMQ==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", @@ -6301,6 +6357,11 @@ "node": ">=6" } }, + "node_modules/github-buttons": { + "version": "2.27.0", + "resolved": "https://registry.npmjs.org/github-buttons/-/github-buttons-2.27.0.tgz", + "integrity": "sha512-PmfRMI2Rttg/2jDfKBeSl621sEznrsKF019SuoLdoNlO7qRUZaOyEI5Li4uW+79pVqnDtKfIEVuHTIJ5lgy64w==" + }, "node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -7677,7 +7738,6 @@ "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "dev": true, "engines": { "node": ">= 0.6" } @@ -7686,7 +7746,6 @@ "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "dev": true, "dependencies": { "mime-db": "1.52.0" }, @@ -7935,7 +7994,6 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", - "dev": true, "dependencies": { "whatwg-url": "^5.0.0" }, @@ -8154,6 +8212,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/opencollective-postinstall": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz", + "integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==", + "bin": { + "opencollective-postinstall": "index.js" + } + }, "node_modules/opener": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz", @@ -9165,6 +9231,11 @@ "node": ">= 0.10" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "node_modules/pseudomap": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", @@ -10460,8 +10531,7 @@ "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "dev": true + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, "node_modules/tslib": { "version": "2.6.2", @@ -10775,6 +10845,40 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, + "node_modules/vue-github-button": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/vue-github-button/-/vue-github-button-1.3.0.tgz", + "integrity": "sha512-Cc92t+GBLwBPhwtHSvKXjbx07U3+6xdi+eR+s9c734tHbndipCLenJjLVkgErNhKZ0EvDjRyuu8Hu69gg9/TxQ==", + "dependencies": { + "github-buttons": "^2.8.0" + } + }, + "node_modules/vue-github-buttons": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/vue-github-buttons/-/vue-github-buttons-3.1.0.tgz", + "integrity": "sha512-x0b9bdhP5xZOD5kQ9+nnCzvKqVyHb4moqN2l06mjYB/k2WRdW5jiAWlneUgoPFwPvcqM40vrTDXVvBrS0MMlEQ==", + "dependencies": { + "format-thousands": "^1.1.1", + "node-fetch": "^2.3.0", + "tslib": "^1.9.3" + }, + "peerDependencies": { + "vue": "2" + } + }, + "node_modules/vue-github-buttons/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, + "node_modules/vue-gtag": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/vue-gtag/-/vue-gtag-1.16.1.tgz", + "integrity": "sha512-5vs0pSGxdqrfXqN1Qwt0ZFXG0iTYjRMu/saddc7QIC5yp+DKgjWQRpGYVa7Pq+KbThxwzzMfo0sGi7ISa6NowA==", + "peerDependencies": { + "vue": "^2.0.0" + } + }, "node_modules/vue-hot-reload-api": { "version": "2.3.4", "resolved": "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz", @@ -10873,6 +10977,25 @@ "node": ">=8" } }, + "node_modules/vue-material": { + "version": "1.0.0-beta-16", + "resolved": "https://registry.npmjs.org/vue-material/-/vue-material-1.0.0-beta-16.tgz", + "integrity": "sha512-Sp7eqn9F3bQJYxOATThtS00whxX/wYugTJZYc5nG+xXxMT89fq86lmhZlcKuuUyl+rvPOs4G+H+woyK4C8suDQ==", + "hasInstallScript": true, + "dependencies": { + "opencollective-postinstall": "^2.0.3", + "vue-github-button": "^1.3.0", + "vue-github-buttons": "^3.1.0", + "vue-gtag": "^1.16.1", + "vue-toc": "0.0.1" + }, + "engines": { + "node": ">= 7.0" + }, + "peerDependencies": { + "vue": "^2.7.14" + } + }, "node_modules/vue-style-loader": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.3.tgz", @@ -10905,6 +11028,14 @@ "integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==", "dev": true }, + "node_modules/vue-toc": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/vue-toc/-/vue-toc-0.0.1.tgz", + "integrity": "sha512-RZfVgLzk/kpEmk05ptvU/+x3TVo4Ai4BBARvV4iCurR9bJsAqnnrqwjEBKnEG+s6NT0yQ6EY0JMGViyOUGysDw==", + "dependencies": { + "vue": "^2.6.10" + } + }, "node_modules/watchpack": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", @@ -10939,8 +11070,7 @@ "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "dev": true + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" }, "node_modules/webpack": { "version": "5.88.2", @@ -11342,7 +11472,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "dev": true, "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" diff --git a/package.json b/package.json index 39230b2..744607e 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,10 @@ "lint": "vue-cli-service lint" }, "dependencies": { + "axios": "^1.5.1", "core-js": "^3.8.3", - "vue": "^2.6.14" + "vue": "^2.6.14", + "vue-material": "^1.0.0-beta-16" }, "devDependencies": { "@babel/core": "^7.12.16", diff --git a/src/App.vue b/src/App.vue index 55df315..8a4e71d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,28 +1,137 @@ diff --git a/src/assets/favicon.ico b/src/assets/favicon.ico new file mode 100644 index 0000000..828b512 Binary files /dev/null and b/src/assets/favicon.ico differ diff --git a/src/assets/fonts/tf2.ttf b/src/assets/fonts/tf2.ttf new file mode 100644 index 0000000..f62cb3c Binary files /dev/null and b/src/assets/fonts/tf2.ttf differ diff --git a/src/assets/fonts/tf2build.ttf b/src/assets/fonts/tf2build.ttf new file mode 100644 index 0000000..d59eec9 Binary files /dev/null and b/src/assets/fonts/tf2build.ttf differ diff --git a/src/assets/fonts/tf2secondary.ttf b/src/assets/fonts/tf2secondary.ttf new file mode 100644 index 0000000..63f6f84 Binary files /dev/null and b/src/assets/fonts/tf2secondary.ttf differ diff --git a/src/assets/images/backgrounds/1.png b/src/assets/images/backgrounds/1.png new file mode 100644 index 0000000..87de226 Binary files /dev/null and b/src/assets/images/backgrounds/1.png differ diff --git a/src/assets/images/backgrounds/2.png b/src/assets/images/backgrounds/2.png new file mode 100644 index 0000000..005e918 Binary files /dev/null and b/src/assets/images/backgrounds/2.png differ diff --git a/src/assets/images/backgrounds/3.png b/src/assets/images/backgrounds/3.png new file mode 100644 index 0000000..c7b47cd Binary files /dev/null and b/src/assets/images/backgrounds/3.png differ diff --git a/src/assets/images/backgrounds/4.png b/src/assets/images/backgrounds/4.png new file mode 100644 index 0000000..304dd26 Binary files /dev/null and b/src/assets/images/backgrounds/4.png differ diff --git a/src/assets/images/characters/engi_n.png b/src/assets/images/characters/engi_n.png new file mode 100644 index 0000000..6777372 Binary files /dev/null and b/src/assets/images/characters/engi_n.png differ diff --git a/src/assets/images/characters/mgesold.png b/src/assets/images/characters/mgesold.png new file mode 100644 index 0000000..fc10883 Binary files /dev/null and b/src/assets/images/characters/mgesold.png differ diff --git a/src/assets/images/characters/pootisd.png b/src/assets/images/characters/pootisd.png new file mode 100644 index 0000000..8f9e0d1 Binary files /dev/null and b/src/assets/images/characters/pootisd.png differ diff --git a/src/assets/images/characters/pyro.png b/src/assets/images/characters/pyro.png new file mode 100644 index 0000000..b745e37 Binary files /dev/null and b/src/assets/images/characters/pyro.png differ diff --git a/src/assets/images/characters/toilet.png b/src/assets/images/characters/toilet.png new file mode 100644 index 0000000..87e16bb Binary files /dev/null and b/src/assets/images/characters/toilet.png differ diff --git a/src/assets/profile-user.svg b/src/assets/profile-user.svg new file mode 100644 index 0000000..4d095a6 --- /dev/null +++ b/src/assets/profile-user.svg @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/src/assets/sounds/alertmgs.mp3 b/src/assets/sounds/alertmgs.mp3 new file mode 100644 index 0000000..640fec5 Binary files /dev/null and b/src/assets/sounds/alertmgs.mp3 differ diff --git a/src/assets/sounds/nigger.mp3 b/src/assets/sounds/nigger.mp3 new file mode 100644 index 0000000..c53a48d Binary files /dev/null and b/src/assets/sounds/nigger.mp3 differ diff --git a/src/assets/sounds/pizdatchik.mp3 b/src/assets/sounds/pizdatchik.mp3 new file mode 100644 index 0000000..a195974 Binary files /dev/null and b/src/assets/sounds/pizdatchik.mp3 differ diff --git a/src/assets/sounds/pootis.mp3 b/src/assets/sounds/pootis.mp3 new file mode 100644 index 0000000..bc996ac Binary files /dev/null and b/src/assets/sounds/pootis.mp3 differ diff --git a/src/assets/sounds/puk.mp3 b/src/assets/sounds/puk.mp3 new file mode 100644 index 0000000..b75c1fe Binary files /dev/null and b/src/assets/sounds/puk.mp3 differ diff --git a/src/assets/sounds/soldier_laughevil03.mp3 b/src/assets/sounds/soldier_laughevil03.mp3 new file mode 100644 index 0000000..e6a47f4 Binary files /dev/null and b/src/assets/sounds/soldier_laughevil03.mp3 differ diff --git a/src/assets/sounds/sunboy-ledi-night-16.mp3 b/src/assets/sounds/sunboy-ledi-night-16.mp3 new file mode 100644 index 0000000..7bd716c Binary files /dev/null and b/src/assets/sounds/sunboy-ledi-night-16.mp3 differ diff --git a/src/assets/user.png b/src/assets/user.png new file mode 100644 index 0000000..32a84e8 Binary files /dev/null and b/src/assets/user.png differ diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue deleted file mode 100644 index 879051a..0000000 --- a/src/components/HelloWorld.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - diff --git a/src/components/Others/BackgroundImage.vue b/src/components/Others/BackgroundImage.vue new file mode 100644 index 0000000..f965b15 --- /dev/null +++ b/src/components/Others/BackgroundImage.vue @@ -0,0 +1,31 @@ + + + \ No newline at end of file diff --git a/src/components/Others/CharacterImage.vue b/src/components/Others/CharacterImage.vue new file mode 100644 index 0000000..f35318f --- /dev/null +++ b/src/components/Others/CharacterImage.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/src/components/PublicMethods.js b/src/components/PublicMethods.js new file mode 100644 index 0000000..638a44b --- /dev/null +++ b/src/components/PublicMethods.js @@ -0,0 +1,50 @@ +import axios from "axios"; + +export default { + name: "PublicMethods", + methods: {}, + getBackground(){ + const backgrounds = [ + require('../assets/images/backgrounds/1.png'), + require('../assets/images/backgrounds/2.png'), + require('../assets/images/backgrounds/3.png'), + require('../assets/images/backgrounds/4.png') + ]; + return backgrounds[Math.floor(Math.random()*backgrounds.length)]; + }, + getApi(){ + console.log("[PublicMethods] request api/stats"); + return axios.get("/api/stats") + .then(response => response.data) + .then(response => { + console.log("[PublicMethods] success get api/stats"); + console.log(response); + return response; + }) + .catch(err => { + console.log(`[PublicMethods] cannot request api/stats, err: ${err}`); + }) + }, + getStatistics(){ + console.log("[PublicMethods] request api/stats/statistics"); + return axios.get("/api/stats?filter=statistic") + .then(response => response.data) + .then(response => { + return response; + }) + .catch(err => { + console.log(`[PublicMethods] cannot request api/stats/statistic, err: ${err}`); + }) + }, + getUniq(){ + console.log("[PublicMethods] request api/stats/uniq"); + return axios.get("/api/stats?filter=uniq") + .then(response => response.data) + .then(response => { + return response; + }) + .catch(err => { + console.log(`[PublicMethods] cannot request api/stats/statistic, err: ${err}`); + }) + } +} \ No newline at end of file diff --git a/src/components/TabsMenu.vue b/src/components/TabsMenu.vue new file mode 100644 index 0000000..bf3b40b --- /dev/null +++ b/src/components/TabsMenu.vue @@ -0,0 +1,35 @@ + + + + + \ No newline at end of file diff --git a/src/components/TabsMenuElements/AboutView.vue b/src/components/TabsMenuElements/AboutView.vue new file mode 100644 index 0000000..8f16777 --- /dev/null +++ b/src/components/TabsMenuElements/AboutView.vue @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/src/components/TabsMenuElements/EmptyTab.vue b/src/components/TabsMenuElements/EmptyTab.vue new file mode 100644 index 0000000..5082b75 --- /dev/null +++ b/src/components/TabsMenuElements/EmptyTab.vue @@ -0,0 +1,14 @@ + + + + \ No newline at end of file diff --git a/src/components/TabsMenuElements/MainView/Components/LogoWithCharacters.vue b/src/components/TabsMenuElements/MainView/Components/LogoWithCharacters.vue new file mode 100644 index 0000000..192d60b --- /dev/null +++ b/src/components/TabsMenuElements/MainView/Components/LogoWithCharacters.vue @@ -0,0 +1,37 @@ + + + \ No newline at end of file diff --git a/src/components/TabsMenuElements/MainView/Components/WhyNot.vue b/src/components/TabsMenuElements/MainView/Components/WhyNot.vue new file mode 100644 index 0000000..4e98290 --- /dev/null +++ b/src/components/TabsMenuElements/MainView/Components/WhyNot.vue @@ -0,0 +1,64 @@ + + + \ No newline at end of file diff --git a/src/components/TabsMenuElements/MainView/MainView.vue b/src/components/TabsMenuElements/MainView/MainView.vue new file mode 100644 index 0000000..5cfbddc --- /dev/null +++ b/src/components/TabsMenuElements/MainView/MainView.vue @@ -0,0 +1,23 @@ + + + \ No newline at end of file diff --git a/src/components/TabsMenuElements/ProfileView.vue b/src/components/TabsMenuElements/ProfileView.vue new file mode 100644 index 0000000..1b1559f --- /dev/null +++ b/src/components/TabsMenuElements/ProfileView.vue @@ -0,0 +1,17 @@ + + + \ No newline at end of file diff --git a/src/components/TabsMenuElements/RulesView.vue b/src/components/TabsMenuElements/RulesView.vue new file mode 100644 index 0000000..e51cd00 --- /dev/null +++ b/src/components/TabsMenuElements/RulesView.vue @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/src/components/TabsMenuElements/ServersView.vue b/src/components/TabsMenuElements/ServersView.vue new file mode 100644 index 0000000..c72a0a7 --- /dev/null +++ b/src/components/TabsMenuElements/ServersView.vue @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/src/components/TabsMenuElements/VipView.vue b/src/components/TabsMenuElements/VipView.vue new file mode 100644 index 0000000..bc5f3b5 --- /dev/null +++ b/src/components/TabsMenuElements/VipView.vue @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/vue.config.js b/vue.config.js index 910e297..eda5edb 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,4 +1,14 @@ const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ - transpileDependencies: true + transpileDependencies: true, + devServer: { + proxy: { + "/api": { + target: "http://192.168.3.3:26272/api/", + secure: false, + changeOrigin: true, + pathRewrite: { '^/api': '' }, + } + } + } })