From f2523eea51afc95cadc5b90fcee614df6656eb53 Mon Sep 17 00:00:00 2001 From: nstoman Date: Thu, 20 May 2021 17:16:40 +0430 Subject: [PATCH 01/11] Remove old logo --- src/App.vue | 1 - src/assets/logo.png | Bin 6849 -> 0 bytes src/index.css | 2 +- 3 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 src/assets/logo.png diff --git a/src/App.vue b/src/App.vue index 591a0312..5bc75c09 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,4 @@ diff --git a/src/assets/logo.png b/src/assets/logo.png deleted file mode 100644 index f3d2503fc2a44b5053b0837ebea6e87a2d339a43..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6849 zcmaKRcUV(fvo}bjDT-7nLI_nlK}sT_69H+`qzVWDA|yaU?}j417wLi^B1KB1SLsC& zL0ag7$U(XW5YR7p&Ux?s<=p5LrlQ`Vj}i8j!?Lr2R_OGZXUr=_WGNV*Q3 zf2k=+zm;ZH`J@Y*r-qrQk(;BZj~xaP$d4lvMt8C^+TcQu4F zQqv!UF!I+kw)c0jhd6+g6oCr9P?7)?!qX1ui*iL{p}sKCAGuJ{{W)0z1pLF|=>h}& zt(2Lr0Z`2ig8<5i%Zk}cO5Fm=LByqGWaS`oqChZdEFmc`0hSb#gg|Aap^{+WKOYcj zHjINK)KDG%&s?Mt4CL(T=?;~U@bU2x_mLKN!#GJuK_CzbNw5SMEJorG!}_5;?R>@1 zSl)jns3WlU7^J%=(hUtfmuUCU&C3%8B5C^f5>W2Cy8jW3#{Od{lF1}|?c61##3dzA zsPlFG;l_FzBK}8>|H_Ru_H#!_7$UH4UKo3lKOA}g1(R&|e@}GINYVzX?q=_WLZCgh z)L|eJMce`D0EIwgRaNETDsr+?vQknSGAi=7H00r`QnI%oQnFxm`G2umXso9l+8*&Q z7WqF|$p49js$mdzo^BXpH#gURy=UO;=IMrYc5?@+sR4y_?d*~0^YP7d+y0{}0)zBM zIKVM(DBvICK#~7N0a+PY6)7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wuD?ff?h#CY04MnNVFTnmG)-+p%fr;?V2o_dw4E$;sThR3J6 diff --git a/src/index.css b/src/index.css index bd6213e1..b5c61c95 100644 --- a/src/index.css +++ b/src/index.css @@ -1,3 +1,3 @@ @tailwind base; @tailwind components; -@tailwind utilities; \ No newline at end of file +@tailwind utilities; From 9363c18fab4eaf3b1f3c81b70013e7fd759adaf3 Mon Sep 17 00:00:00 2001 From: nstoman Date: Tue, 22 Jun 2021 16:51:59 +0430 Subject: [PATCH 02/11] Project cleanup --- src/App.vue | 6 ++-- src/assets/{ => css}/tailwind.css | 0 src/components/HelloWorld.vue | 58 ------------------------------- src/components/Home.vue | 19 ++++++++++ src/index.css | 3 -- src/main.js | 3 +- 6 files changed, 23 insertions(+), 66 deletions(-) rename src/assets/{ => css}/tailwind.css (100%) delete mode 100644 src/components/HelloWorld.vue create mode 100644 src/components/Home.vue delete mode 100644 src/index.css diff --git a/src/App.vue b/src/App.vue index 5bc75c09..b18da941 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,14 +1,14 @@ diff --git a/src/assets/tailwind.css b/src/assets/css/tailwind.css similarity index 100% rename from src/assets/tailwind.css rename to src/assets/css/tailwind.css diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue deleted file mode 100644 index 879051a2..00000000 --- a/src/components/HelloWorld.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - diff --git a/src/components/Home.vue b/src/components/Home.vue new file mode 100644 index 00000000..fdb77bd3 --- /dev/null +++ b/src/components/Home.vue @@ -0,0 +1,19 @@ + + + + + diff --git a/src/index.css b/src/index.css deleted file mode 100644 index b5c61c95..00000000 --- a/src/index.css +++ /dev/null @@ -1,3 +0,0 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; diff --git a/src/main.js b/src/main.js index 4f3dbb99..32913e62 100644 --- a/src/main.js +++ b/src/main.js @@ -1,6 +1,5 @@ import { createApp } from 'vue' import App from './App.vue' -import './index.css' -import './assets/tailwind.css' +import './assets/css/tailwind.css' createApp(App).mount('#app') From a30198a1ed38b4df2e566234dbe54028b3feb4b7 Mon Sep 17 00:00:00 2001 From: nstoman Date: Thu, 1 Jul 2021 16:51:43 +0430 Subject: [PATCH 03/11] Add feather icons --- package-lock.json | 53 ++++++++++++++++++++++++++++++++++------- package.json | 1 + src/components/Home.vue | 10 +++++++- src/main.js | 3 +++ 4 files changed, 58 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4c063dfe..96f4a991 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "@tailwindcss/postcss7-compat": "^2.0.2", "autoprefixer": "^9", "core-js": "^3.6.5", + "feather-icons": "^4.28.0", "postcss": "^7", "postcss-flexbugs-fixes": "^5.0.2", "postcss-import": "^14.0.2", @@ -4157,6 +4158,11 @@ "node": ">=0.10.0" } }, + "node_modules/classnames": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.1.tgz", + "integrity": "sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA==" + }, "node_modules/clean-css": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.3.tgz", @@ -6851,6 +6857,15 @@ "node": ">=0.8.0" } }, + "node_modules/feather-icons": { + "version": "4.28.0", + "resolved": "https://registry.npmjs.org/feather-icons/-/feather-icons-4.28.0.tgz", + "integrity": "sha512-gRdqKESXRBUZn6Nl0VBq2wPHKRJgZz7yblrrc2lYsS6odkNFDnA4bqvrlEVRUPjE1tFax+0TdbJKZ31ziJuzjg==", + "dependencies": { + "classnames": "^2.2.5", + "core-js": "^3.1.3" + } + }, "node_modules/figgy-pudding": { "version": "3.5.2", "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.2.tgz", @@ -18342,7 +18357,8 @@ "version": "4.5.13", "resolved": "https://registry.npmjs.org/@vue/cli-plugin-vuex/-/cli-plugin-vuex-4.5.13.tgz", "integrity": "sha512-I1S9wZC7iI0Wn8kw8Zh+A2Qkf6s1M6vTGBkx8boXjuzfwEEyEHRxadsVCecZc8Mkpydo0nykj+MyYF96TKFuVA==", - "dev": true + "dev": true, + "requires": {} }, "@vue/cli-service": { "version": "4.5.13", @@ -18586,7 +18602,8 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/@vue/preload-webpack-plugin/-/preload-webpack-plugin-1.1.2.tgz", "integrity": "sha512-LIZMuJk38pk9U9Ur4YzHjlIyMuxPlACdBIHH9/nGYVTsaGKOSnSuELiE8vS9wa+dJpIYspYUOqk+L1Q4pgHQHQ==", - "dev": true + "dev": true, + "requires": {} }, "@vue/reactivity": { "version": "3.0.11", @@ -18832,7 +18849,8 @@ "version": "5.3.1", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz", "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==", - "dev": true + "dev": true, + "requires": {} }, "acorn-node": { "version": "1.8.2", @@ -18871,13 +18889,15 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.1.tgz", "integrity": "sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==", - "dev": true + "dev": true, + "requires": {} }, "ajv-keywords": { "version": "3.5.2", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "dev": true + "dev": true, + "requires": {} }, "alphanum-sort": { "version": "1.0.2", @@ -19909,6 +19929,11 @@ } } }, + "classnames": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.1.tgz", + "integrity": "sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA==" + }, "clean-css": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.3.tgz", @@ -22069,6 +22094,15 @@ "websocket-driver": ">=0.5.1" } }, + "feather-icons": { + "version": "4.28.0", + "resolved": "https://registry.npmjs.org/feather-icons/-/feather-icons-4.28.0.tgz", + "integrity": "sha512-gRdqKESXRBUZn6Nl0VBq2wPHKRJgZz7yblrrc2lYsS6odkNFDnA4bqvrlEVRUPjE1tFax+0TdbJKZ31ziJuzjg==", + "requires": { + "classnames": "^2.2.5", + "core-js": "^3.1.3" + } + }, "figgy-pudding": { "version": "3.5.2", "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.2.tgz", @@ -25345,7 +25379,8 @@ "postcss-flexbugs-fixes": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-5.0.2.tgz", - "integrity": "sha512-18f9voByak7bTktR2QgDveglpn9DTbBWPUzSOe9g0N4WR/2eSt6Vrcbf0hmspvMI6YWGywz6B9f7jzpFNJJgnQ==" + "integrity": "sha512-18f9voByak7bTktR2QgDveglpn9DTbBWPUzSOe9g0N4WR/2eSt6Vrcbf0hmspvMI6YWGywz6B9f7jzpFNJJgnQ==", + "requires": {} }, "postcss-focus-visible": { "version": "4.0.0", @@ -25661,13 +25696,15 @@ "version": "5.1.0", "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", - "dev": true + "dev": true, + "requires": {} }, "postcss-modules-extract-imports": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz", "integrity": "sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==", - "dev": true + "dev": true, + "requires": {} }, "postcss-modules-local-by-default": { "version": "4.0.0", diff --git a/package.json b/package.json index 6eec4d5a..8c93d64c 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "@tailwindcss/postcss7-compat": "^2.0.2", "autoprefixer": "^9", "core-js": "^3.6.5", + "feather-icons": "^4.28.0", "postcss": "^7", "postcss-flexbugs-fixes": "^5.0.2", "postcss-import": "^14.0.2", diff --git a/src/components/Home.vue b/src/components/Home.vue index fdb77bd3..b350792b 100644 --- a/src/components/Home.vue +++ b/src/components/Home.vue @@ -1,15 +1,23 @@ diff --git a/src/main.js b/src/main.js index 32913e62..fa03e53b 100644 --- a/src/main.js +++ b/src/main.js @@ -2,4 +2,7 @@ import { createApp } from 'vue' import App from './App.vue' import './assets/css/tailwind.css' +const feather = require('feather-icons') +feather.replace() + createApp(App).mount('#app') From 73991b41623e9fe01bd950c5d2f209533b2285ed Mon Sep 17 00:00:00 2001 From: nstoman Date: Thu, 1 Jul 2021 16:53:44 +0430 Subject: [PATCH 04/11] Create about component --- src/components/About.vue | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/components/About.vue diff --git a/src/components/About.vue b/src/components/About.vue new file mode 100644 index 00000000..aae0a081 --- /dev/null +++ b/src/components/About.vue @@ -0,0 +1,27 @@ + + + + + From 9faee643d911001d3ad907a55f79a91bb66a0b80 Mon Sep 17 00:00:00 2001 From: nstoman Date: Thu, 1 Jul 2021 17:04:01 +0430 Subject: [PATCH 05/11] Add vue router and routes --- package-lock.json | 57 +++++++++++++++++++++++++++++++-------------- package.json | 4 +++- src/App.vue | 31 +++++++++++++----------- src/main.js | 16 ++++++++++++- src/router/index.js | 25 ++++++++++++++++++++ src/views/About.vue | 5 ++++ src/views/Home.vue | 18 ++++++++++++++ 7 files changed, 124 insertions(+), 32 deletions(-) create mode 100644 src/router/index.js create mode 100644 src/views/About.vue create mode 100644 src/views/Home.vue diff --git a/package-lock.json b/package-lock.json index 96f4a991..abbddfe3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,11 +16,13 @@ "postcss-import": "^14.0.2", "postcss-preset-env": "^6.7.0", "tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.0.2", - "vue": "^3.0.0" + "vue": "^3.0.0", + "vue-router": "^4.0.0-0" }, "devDependencies": { "@vue/cli-plugin-babel": "~4.5.0", "@vue/cli-plugin-eslint": "~4.5.0", + "@vue/cli-plugin-router": "~4.5.0", "@vue/cli-service": "~4.5.0", "@vue/compiler-sfc": "^3.0.0", "babel-eslint": "^10.1.0", @@ -2552,6 +2554,11 @@ "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", "dev": true }, + "node_modules/@vue/devtools-api": { + "version": "6.0.0-beta.15", + "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.0.0-beta.15.tgz", + "integrity": "sha512-quBx4Jjpexo6KDiNUGFr/zF/2A4srKM9S9v2uHgMXSU//hjgq1eGzqkIFql8T9gfX5ZaVOUzYBP3jIdIR3PKIA==" + }, "node_modules/@vue/preload-webpack-plugin": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@vue/preload-webpack-plugin/-/preload-webpack-plugin-1.1.2.tgz", @@ -15314,6 +15321,17 @@ "integrity": "sha1-M7QHd3VMZDJXPBIMw4CLvRDUfwQ=", "dev": true }, + "node_modules/vue-router": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.0.10.tgz", + "integrity": "sha512-YbPf6QnZpyyWfnk7CUt2Bme+vo7TLfg1nGZNkvYqKYh4vLaFw6Gn8bPGdmt5m4qrGnKoXLqc4htAsd3dIukICA==", + "dependencies": { + "@vue/devtools-api": "^6.0.0-beta.14" + }, + "peerDependencies": { + "vue": "^3.0.0" + } + }, "node_modules/vue-style-loader": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.3.tgz", @@ -18357,8 +18375,7 @@ "version": "4.5.13", "resolved": "https://registry.npmjs.org/@vue/cli-plugin-vuex/-/cli-plugin-vuex-4.5.13.tgz", "integrity": "sha512-I1S9wZC7iI0Wn8kw8Zh+A2Qkf6s1M6vTGBkx8boXjuzfwEEyEHRxadsVCecZc8Mkpydo0nykj+MyYF96TKFuVA==", - "dev": true, - "requires": {} + "dev": true }, "@vue/cli-service": { "version": "4.5.13", @@ -18598,12 +18615,16 @@ } } }, + "@vue/devtools-api": { + "version": "6.0.0-beta.15", + "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.0.0-beta.15.tgz", + "integrity": "sha512-quBx4Jjpexo6KDiNUGFr/zF/2A4srKM9S9v2uHgMXSU//hjgq1eGzqkIFql8T9gfX5ZaVOUzYBP3jIdIR3PKIA==" + }, "@vue/preload-webpack-plugin": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@vue/preload-webpack-plugin/-/preload-webpack-plugin-1.1.2.tgz", "integrity": "sha512-LIZMuJk38pk9U9Ur4YzHjlIyMuxPlACdBIHH9/nGYVTsaGKOSnSuELiE8vS9wa+dJpIYspYUOqk+L1Q4pgHQHQ==", - "dev": true, - "requires": {} + "dev": true }, "@vue/reactivity": { "version": "3.0.11", @@ -18849,8 +18870,7 @@ "version": "5.3.1", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz", "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==", - "dev": true, - "requires": {} + "dev": true }, "acorn-node": { "version": "1.8.2", @@ -18889,15 +18909,13 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.1.tgz", "integrity": "sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==", - "dev": true, - "requires": {} + "dev": true }, "ajv-keywords": { "version": "3.5.2", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "dev": true, - "requires": {} + "dev": true }, "alphanum-sort": { "version": "1.0.2", @@ -25379,8 +25397,7 @@ "postcss-flexbugs-fixes": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-5.0.2.tgz", - "integrity": "sha512-18f9voByak7bTktR2QgDveglpn9DTbBWPUzSOe9g0N4WR/2eSt6Vrcbf0hmspvMI6YWGywz6B9f7jzpFNJJgnQ==", - "requires": {} + "integrity": "sha512-18f9voByak7bTktR2QgDveglpn9DTbBWPUzSOe9g0N4WR/2eSt6Vrcbf0hmspvMI6YWGywz6B9f7jzpFNJJgnQ==" }, "postcss-focus-visible": { "version": "4.0.0", @@ -25696,15 +25713,13 @@ "version": "5.1.0", "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", - "dev": true, - "requires": {} + "dev": true }, "postcss-modules-extract-imports": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz", "integrity": "sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==", - "dev": true, - "requires": {} + "dev": true }, "postcss-modules-local-by-default": { "version": "4.0.0", @@ -28895,6 +28910,14 @@ } } }, + "vue-router": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.0.10.tgz", + "integrity": "sha512-YbPf6QnZpyyWfnk7CUt2Bme+vo7TLfg1nGZNkvYqKYh4vLaFw6Gn8bPGdmt5m4qrGnKoXLqc4htAsd3dIukICA==", + "requires": { + "@vue/devtools-api": "^6.0.0-beta.14" + } + }, "vue-style-loader": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.3.tgz", diff --git a/package.json b/package.json index 8c93d64c..c6fd9322 100644 --- a/package.json +++ b/package.json @@ -17,11 +17,13 @@ "postcss-import": "^14.0.2", "postcss-preset-env": "^6.7.0", "tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.0.2", - "vue": "^3.0.0" + "vue": "^3.0.0", + "vue-router": "^4.0.0-0" }, "devDependencies": { "@vue/cli-plugin-babel": "~4.5.0", "@vue/cli-plugin-eslint": "~4.5.0", + "@vue/cli-plugin-router": "~4.5.0", "@vue/cli-service": "~4.5.0", "@vue/compiler-sfc": "^3.0.0", "babel-eslint": "^10.1.0", diff --git a/src/App.vue b/src/App.vue index b18da941..b9643551 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,18 +1,11 @@ - - diff --git a/src/main.js b/src/main.js index fa03e53b..9a066bfa 100644 --- a/src/main.js +++ b/src/main.js @@ -1,8 +1,22 @@ import { createApp } from 'vue' +import { createWebHistory, createRouter } from 'vue-router' import App from './App.vue' import './assets/css/tailwind.css' +import Home from './components/Home' +import About from './components/About' +import router from './router' const feather = require('feather-icons') feather.replace() -createApp(App).mount('#app') +const routes = [ + { path: '/', component: Home }, + { path: '/about', component: About }, +]; + +const router = createRouter({ + history: createWebHistory(), + routes +}); + +createApp(App).use(router).use(router).mount('#app') diff --git a/src/router/index.js b/src/router/index.js new file mode 100644 index 00000000..15988df6 --- /dev/null +++ b/src/router/index.js @@ -0,0 +1,25 @@ +import { createRouter, createWebHistory } from 'vue-router' +import Home from '../views/Home.vue' + +const routes = [ + { + path: '/', + name: 'Home', + component: Home + }, + { + path: '/about', + name: 'About', + // route level code-splitting + // this generates a separate chunk (about.[hash].js) for this route + // which is lazy-loaded when the route is visited. + component: () => import(/* webpackChunkName: "about" */ '../views/About.vue') + } +] + +const router = createRouter({ + history: createWebHistory(process.env.BASE_URL), + routes +}) + +export default router diff --git a/src/views/About.vue b/src/views/About.vue new file mode 100644 index 00000000..3fa28070 --- /dev/null +++ b/src/views/About.vue @@ -0,0 +1,5 @@ + diff --git a/src/views/Home.vue b/src/views/Home.vue new file mode 100644 index 00000000..8bd6c57f --- /dev/null +++ b/src/views/Home.vue @@ -0,0 +1,18 @@ + + + From 235374aa28261c7d611fe67228779012c2ebeea1 Mon Sep 17 00:00:00 2001 From: nstoman Date: Thu, 1 Jul 2021 17:08:04 +0430 Subject: [PATCH 06/11] Vue router fixes --- src/components/About.vue | 2 +- src/components/Home.vue | 2 +- src/main.js | 15 +-------------- src/router/index.js | 4 ++-- 4 files changed, 5 insertions(+), 18 deletions(-) diff --git a/src/components/About.vue b/src/components/About.vue index aae0a081..2916d764 100644 --- a/src/components/About.vue +++ b/src/components/About.vue @@ -1,6 +1,6 @@ diff --git a/src/components/Home.vue b/src/components/Home.vue index b350792b..43c5cda4 100644 --- a/src/components/Home.vue +++ b/src/components/Home.vue @@ -1,6 +1,6 @@ diff --git a/src/main.js b/src/main.js index 9a066bfa..6d5fbba2 100644 --- a/src/main.js +++ b/src/main.js @@ -1,22 +1,9 @@ import { createApp } from 'vue' -import { createWebHistory, createRouter } from 'vue-router' import App from './App.vue' -import './assets/css/tailwind.css' -import Home from './components/Home' -import About from './components/About' import router from './router' +import './assets/css/tailwind.css' const feather = require('feather-icons') feather.replace() -const routes = [ - { path: '/', component: Home }, - { path: '/about', component: About }, -]; - -const router = createRouter({ - history: createWebHistory(), - routes -}); - createApp(App).use(router).use(router).mount('#app') diff --git a/src/router/index.js b/src/router/index.js index 15988df6..5a942ba8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,5 +1,5 @@ import { createRouter, createWebHistory } from 'vue-router' -import Home from '../views/Home.vue' +import Home from '../components/Home.vue' const routes = [ { @@ -13,7 +13,7 @@ const routes = [ // route level code-splitting // this generates a separate chunk (about.[hash].js) for this route // which is lazy-loaded when the route is visited. - component: () => import(/* webpackChunkName: "about" */ '../views/About.vue') + component: () => import(/* webpackChunkName: "about" */ '../components/About.vue') } ] From 5f02877ecb1867c766ad6c5df2bdc507feaafee2 Mon Sep 17 00:00:00 2001 From: nstoman Date: Thu, 1 Jul 2021 17:41:22 +0430 Subject: [PATCH 07/11] Add headerd and footer --- src/App.vue | 94 ++++++++++++++++++++++++++++++---------- src/components/About.vue | 2 +- src/components/Home.vue | 2 +- 3 files changed, 73 insertions(+), 25 deletions(-) diff --git a/src/App.vue b/src/App.vue index b9643551..15e6cccb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,30 +1,78 @@ + - diff --git a/src/components/About.vue b/src/components/About.vue index 2916d764..5e402185 100644 --- a/src/components/About.vue +++ b/src/components/About.vue @@ -1,5 +1,5 @@