diff --git a/package.json b/package.json index 270f526..aabe8d9 100644 --- a/package.json +++ b/package.json @@ -11,15 +11,13 @@ "autoprefixer": "^9.7.6", "core-js": "^3.6.4", "highlight.js": "^10.0.2", - "js-beautify": "^1.11.0", "postcss-import": "^12.0.1", "tailwindcss": "^1.4.4", "vue": "^2.6.11", "vue-analytics": "^5.22.1", "vue-backtotop": "^1.6.1", "vue-clipboard2": "^0.3.1", - "vue-meta": "^2.4.0", - "vue-router": "^3.3.2" + "vue-meta": "^2.4.0" }, "devDependencies": { "@babel/plugin-syntax-dynamic-import": "^7.8.3", diff --git a/src/App.vue b/src/App.vue index 12305e8..531aa46 100644 --- a/src/App.vue +++ b/src/App.vue @@ -10,7 +10,7 @@
-
+

Heros components require simple - don't panic please 😎 - @@ -27,7 +27,7 @@

- +
@@ -45,21 +45,18 @@ import MainHeader from "./components/Header"; import BackToTop from "vue-backtotop"; +import ErrorFullWidth from "./components/ui/Alerts/ErrorFullWidth"; + export default { components: { MainHeader, BackToTop, - }, - computed: { - currentPage() { - return this.$route.path; - }, + ErrorFullWidth }, data() { return { - routes: this.$router.options.routes, og: "https://merakiui.com" + require("./assets/merakiui-og.png"), }; }, @@ -67,7 +64,6 @@ export default { metaInfo() { return { meta: [ - // Twitter Card { name: "twitter:card", content: "summary_large_image" }, { name: "twitter:title", content: "Meraki UI Tailwindcss Components" }, { @@ -75,9 +71,7 @@ export default { content: "Beautiful Tailwindcss components that support RTL languages & fully responsive based on Flexbox & CSS Grid.", }, - // image must be an absolute path { name: "twitter:image", content: this.og }, - // Facebook OpenGraph { property: "og:title", content: "Meraki UI Tailwindcss Components" }, { property: "og:site_name", content: "Meraki UI" }, { property: "og:type", content: "website" }, diff --git a/src/components/categories/Alerts.vue b/src/components/categories/Alerts.vue deleted file mode 100644 index 47b1f91..0000000 --- a/src/components/categories/Alerts.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/categories/Cards.vue b/src/components/categories/Cards.vue deleted file mode 100644 index 6403979..0000000 --- a/src/components/categories/Cards.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/categories/Footers.vue b/src/components/categories/Footers.vue deleted file mode 100644 index 78d32ac..0000000 --- a/src/components/categories/Footers.vue +++ /dev/null @@ -1,23 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/categories/Forms.vue b/src/components/categories/Forms.vue deleted file mode 100644 index de6f34a..0000000 --- a/src/components/categories/Forms.vue +++ /dev/null @@ -1,20 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/categories/Heros.vue b/src/components/categories/Heros.vue deleted file mode 100644 index 6121f2e..0000000 --- a/src/components/categories/Heros.vue +++ /dev/null @@ -1,23 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/categories/Navbars.vue b/src/components/categories/Navbars.vue deleted file mode 100644 index b2b5225..0000000 --- a/src/components/categories/Navbars.vue +++ /dev/null @@ -1,23 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/categories/Paginations.vue b/src/components/categories/Paginations.vue deleted file mode 100644 index e61f65b..0000000 --- a/src/components/categories/Paginations.vue +++ /dev/null @@ -1,17 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/categories/Sections.vue b/src/components/categories/Sections.vue deleted file mode 100644 index e934c74..0000000 --- a/src/components/categories/Sections.vue +++ /dev/null @@ -1,26 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/categories/Sign-inAndRegistration.vue b/src/components/categories/Sign-inAndRegistration.vue deleted file mode 100644 index 9312e97..0000000 --- a/src/components/categories/Sign-inAndRegistration.vue +++ /dev/null @@ -1,20 +0,0 @@ - - - \ No newline at end of file diff --git a/src/main.js b/src/main.js index 3c72379..8a9ffea 100644 --- a/src/main.js +++ b/src/main.js @@ -1,7 +1,5 @@ import Vue from "vue"; -import VueRouter from "vue-router"; import App from "./App.vue"; -import router from "./router"; import Meta from "vue-meta"; import VueClipboard from "vue-clipboard2"; import VueAnalytics from "vue-analytics"; @@ -9,8 +7,6 @@ import ViewComponent from "./components/utilities/ViewComponent"; Vue.use(Meta); -Vue.use(VueRouter); - Vue.component("view-component", ViewComponent); Vue.config.productionTip = false; @@ -21,4 +17,4 @@ Vue.use(VueAnalytics, { id: "UA-167213766-1" }); console.log("Hello 😎, If you like it star it on Github 🚀"); -new Vue({ render: (h) => h(App), router }).$mount("#app"); +new Vue({ render: (h) => h(App) }).$mount("#app"); diff --git a/src/router.js b/src/router.js deleted file mode 100644 index ca04f47..0000000 --- a/src/router.js +++ /dev/null @@ -1,32 +0,0 @@ -import VueRouter from "vue-router"; - -const Alerts = () => import("./components/categories/Alerts"); -const Cards = () => import("./components/categories/Cards"); -const Forms = () => import("./components/categories/Forms"); -const Navbars = () => import("./components/categories/Navbars"); -const Heros = () => import("./components/categories/Heros"); -const Sections = () => import("./components/categories/Sections"); -const SignInAndRegistration = () => - import("./components/categories/Sign-inAndRegistration"); -const Paginations = () => import("./components/categories/Paginations"); -const Footers = () => import("./components/categories/Footers"); - -export default new VueRouter({ - mode: "history", - routes: [ - { path: "/", redirect: "/alerts" }, - { path: "/alerts", component: Alerts, name: "Alerts" }, - { path: "/cards", component: Cards, name: "Cards" }, - { path: "/forms", component: Forms, name: "Forms" }, - { path: "/navbars", component: Navbars, name: "Navbars" }, - { path: "/heros", component: Heros, name: "Heros" }, - { path: "/sections", component: Sections, name: "Sections" }, - { - path: "/sign-in-and-registration", - component: SignInAndRegistration, - name: "Sign-in and Registration", - }, - { path: "/paginations", component: Paginations, name: "Paginations" }, - { path: "/footers", component: Footers, name: "Footers" }, - ], -});