Skip to content

Commit 108fa23

Browse files
committed
Ready for deploy
1 parent 466501c commit 108fa23

File tree

4 files changed

+164
-3
lines changed

4 files changed

+164
-3
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
"name": "vue-soft-ui-dashboard",
33
"version": "1.0.0",
44
"private": true,
5+
"homepage": "https://demos.creative-tim.com/vue-soft-ui-dashboard/",
56
"scripts": {
67
"serve": "vue-cli-service serve",
78
"build": "vue-cli-service build",
8-
"lint": "vue-cli-service lint"
9+
"lint": "vue-cli-service lint",
10+
"deploy": "gh-pages -d dist"
911
},
1012
"dependencies": {
1113
"@popperjs/core": "2.10.2",
@@ -29,6 +31,7 @@
2931
"eslint": "6.7.2",
3032
"eslint-plugin-prettier": "3.3.1",
3133
"eslint-plugin-vue": "7.0.0",
34+
"gh-pages": "^3.2.3",
3235
"prettier": "2.2.1",
3336
"sass": "1.43.3",
3437
"sass-loader": "10.1.1"

public/index.html

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,91 @@
1+
<!--
2+
=========================================================
3+
* Vue Soft UI Dashboard - v1.0.0
4+
=========================================================
5+
6+
* Product Page: https://creative-tim.com/product/vue-soft-ui-dashboard
7+
* Copyright 2022 Creative Tim (https://www.creative-tim.com)
8+
9+
Coded by www.creative-tim.com
10+
11+
=========================================================
12+
13+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
14+
-->
115
<!DOCTYPE html>
216
<html lang="">
317
<head>
18+
<!-- Anti-flicker snippet (recommended) -->
19+
<style>
20+
.async-hide {
21+
opacity: 0 !important;
22+
}
23+
</style>
24+
<script>
25+
(function (a, s, y, n, c, h, i, d, e) {
26+
s.className += " " + y;
27+
h.start = 1 * new Date();
28+
h.end = i = function () {
29+
s.className = s.className.replace(RegExp(" ?" + y), "");
30+
};
31+
(a[n] = a[n] || []).hide = h;
32+
setTimeout(function () {
33+
i();
34+
h.end = null;
35+
}, c);
36+
h.timeout = c;
37+
})(window, document.documentElement, "async-hide", "dataLayer", 4000, {
38+
"GTM-K9BGS8K": true,
39+
});
40+
</script>
41+
42+
<!-- Analytics-Optimize Snippet -->
43+
<script>
44+
(function (i, s, o, g, r, a, m) {
45+
i["GoogleAnalyticsObject"] = r;
46+
(i[r] =
47+
i[r] ||
48+
function () {
49+
(i[r].q = i[r].q || []).push(arguments);
50+
}),
51+
(i[r].l = 1 * new Date());
52+
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
53+
a.async = 1;
54+
a.src = g;
55+
m.parentNode.insertBefore(a, m);
56+
})(
57+
window,
58+
document,
59+
"script",
60+
"https://www.google-analytics.com/analytics.js",
61+
"ga",
62+
);
63+
ga("create", "UA-46172202-22", "auto", { allowLinker: true });
64+
ga("set", "anonymizeIp", true);
65+
ga("require", "GTM-K9BGS8K");
66+
ga("require", "displayfeatures");
67+
ga("require", "linker");
68+
ga("linker:autoLink", ["2checkout.com", "avangate.com"]);
69+
</script>
70+
<!-- end Analytics-Optimize Snippet -->
71+
72+
<!-- Google Tag Manager -->
73+
<script>
74+
(function (w, d, s, l, i) {
75+
w[l] = w[l] || [];
76+
w[l].push({
77+
"gtm.start": new Date().getTime(),
78+
event: "gtm.js",
79+
});
80+
var f = d.getElementsByTagName(s)[0],
81+
j = d.createElement(s),
82+
dl = l != "dataLayer" ? "&l=" + l : "";
83+
j.async = true;
84+
j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
85+
f.parentNode.insertBefore(j, f);
86+
})(window, document, "script", "dataLayer", "GTM-NKDMSK6");
87+
</script>
88+
<!-- End Google Tag Manager -->
489
<meta charset="utf-8" />
590
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
691
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
@@ -22,8 +107,78 @@
22107
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css"
23108
/>
24109
<script async defer src="https://buttons.github.io/buttons.js"></script>
110+
<!-- Meta tags -->
111+
<!-- Extra details for Live View on GitHub Pages -->
112+
<!-- Canonical SEO -->
113+
<link
114+
rel="canonical"
115+
href="https://creative-tim.com/product/vue-soft-ui-dashboard"
116+
/>
117+
<!-- Social tags -->
118+
<meta
119+
name="keywords"
120+
content="vue soft ui dashboard, soft ui vue admin, soft ui vue dashboard, soft ui design admin, soft ui design, creative tim, vue dashboard, web dashboard, free, vuejs, free dashboard, vue admin, vue dashboard, frontend, responsive vue dashboard, responsive vuejs, vuejs admin, vuejs template, vue template"
121+
/>
122+
<meta
123+
name="description"
124+
content="Start your Development with an Innovative Admin Template for Bootstrap 5 and VueJS 3. If you like the look & feel of the hottest design trend right now, Soft UI, you will fall in love with this dashboard! It features a huge number of components built to fit together and look amazing."
125+
/>
126+
<!-- Schema.org markup for Google+ -->
127+
<meta itemprop="name" content="Vue Soft UI Dashboard by Creative Tim" />
128+
<meta
129+
itemprop="description"
130+
content="Start your Development with an Innovative Admin Template for Bootstrap 5 and VueJS 3. If you like the look & feel of the hottest design trend right now, Soft UI, you will fall in love with this dashboard! It features a huge number of components built to fit together and look amazing."
131+
/>
132+
<meta
133+
itemprop="image"
134+
content="https://s3.amazonaws.com/creativetim_bucket/products/591/original/vue-soft-ui-dashboard.jpg"
135+
/>
136+
<!-- Twitter Card data -->
137+
<meta name="twitter:card" content="product" />
138+
<meta name="twitter:site" content="@creativetim" />
139+
<meta
140+
name="twitter:title"
141+
content="Vue Soft UI Dashboard by Creative Tim"
142+
/>
143+
144+
<meta
145+
name="twitter:description"
146+
content="Start your Development with an Innovative Admin Template for Bootstrap 5 and VueJS 3. If you like the look & feel of the hottest design trend right now, Soft UI, you will fall in love with this dashboard! It features a huge number of components built to fit together and look amazing."
147+
/>
148+
<meta name="twitter:creator" content="@creativetim" />
149+
<meta
150+
name="twitter:image"
151+
content="https://s3.amazonaws.com/creativetim_bucket/products/591/original/vue-soft-ui-dashboard.jpg"
152+
/>
153+
<!-- Open Graph data -->
154+
<meta property="fb:app_id" content="655968634437471" />
155+
<meta property="og:title" content="Vue Soft UI Dashboard by Creative Tim" />
156+
<meta property="og:type" content="article" />
157+
<meta
158+
property="og:url"
159+
content="http://demos.creative-tim.com/vue-soft-ui-dashboard/"
160+
/>
161+
<meta
162+
property="og:image"
163+
content="https://s3.amazonaws.com/creativetim_bucket/products/591/original/vue-soft-ui-dashboard.jpg"
164+
/>
165+
<meta
166+
property="og:description"
167+
content="Start your Development with an Innovative Admin Template for Bootstrap 5 and VueJS 3. If you like the look & feel of the hottest design trend right now, Soft UI, you will fall in love with this dashboard! It features a huge number of components built to fit together and look amazing."
168+
/>
169+
<meta property="og:site_name" content="Creative Tim" />
25170
</head>
26171
<body class="bg-gray-100">
172+
<!-- Google Tag Manager (noscript) -->
173+
<noscript
174+
><iframe
175+
src="https://www.googletagmanager.com/ns.html?id=GTM-NKDMSK6"
176+
height="0"
177+
width="0"
178+
style="display: none; visibility: hidden"
179+
></iframe
180+
></noscript>
181+
<!-- End Google Tag Manager (noscript) -->
27182
<noscript>
28183
<strong
29184
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work

src/router/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createRouter, createWebHistory } from "vue-router";
1+
import { createRouter, createWebHashHistory } from "vue-router";
22
import Dashboard from "@/views/Dashboard.vue";
33
import Tables from "@/views/Tables.vue";
44
import Billing from "@/views/Billing.vue";
@@ -57,7 +57,7 @@ const routes = [
5757
];
5858

5959
const router = createRouter({
60-
history: createWebHistory(process.env.BASE_URL),
60+
history: createWebHashHistory(),
6161
routes,
6262
linkActiveClass: "active",
6363
});

vue.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
publicPath: "/vue-soft-ui-dashboard/",
3+
};

0 commit comments

Comments
 (0)