Skip to content

Commit 065a56a

Browse files
committed
update demo
1 parent 6d73412 commit 065a56a

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/sing-app-vue-dashboard/favicon.ico><title>Sing App Vue.js Dashboard - Free & Open Source Vue.js Admin Template</title><meta name=description content="Free & Open Source Vue.js Admin Dashboard Template built with vue-router, vuex and bootstrap 4"><meta name=keywords content="vue admin, vue admin template, vue dashboard, free vue.js admin dashboard, open source vue admin dashboard, vue template"><meta name=author content="Flatlogic LLC"><script async src="https://www.googletagmanager.com/gtag/js?id=UA-36759672-9"></script><script>window.dataLayer = window.dataLayer || [];
1+
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><title>Sing App Vue.js Dashboard - Free & Open Source Vue.js Admin Template</title><meta name=description content="Free & Open Source Vue.js Admin Dashboard Template built with vue-router, vuex and bootstrap 4"><meta name=keywords content="vue admin, vue admin template, vue dashboard, free vue.js admin dashboard, open source vue admin dashboard, vue template"><meta name=author content="Flatlogic LLC"><script async src="https://www.googletagmanager.com/gtag/js?id=UA-36759672-9"></script><script>window.dataLayer = window.dataLayer || [];
22
function gtag(){dataLayer.push(arguments);}
33
gtag('js', new Date());
44

5-
gtag('config', 'UA-36759672-9');</script><script>(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) (window, document, "script", "https://cdn.jsdelivr.net/npm/yandex-metrica-watch/tag.js", "ym"); ym(48020168, "init", { id:48020168, clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true, trackHash:true, ecommerce:"dataLayer" });</script><link href=/sing-app-vue-dashboard/css/app.8f656e68.css rel=preload as=style><link href=/sing-app-vue-dashboard/css/chunk-vendors.5250159d.css rel=preload as=style><link href=/sing-app-vue-dashboard/js/app.687153c7.js rel=preload as=script><link href=/sing-app-vue-dashboard/js/chunk-vendors.a11b2f12.js rel=preload as=script><link href=/sing-app-vue-dashboard/css/chunk-vendors.5250159d.css rel=stylesheet><link href=/sing-app-vue-dashboard/css/app.8f656e68.css rel=stylesheet></head><body><noscript><strong>We're sorry but vue-cli doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/sing-app-vue-dashboard/js/chunk-vendors.a11b2f12.js></script><script src=/sing-app-vue-dashboard/js/app.687153c7.js></script></body></html>
5+
gtag('config', 'UA-36759672-9');</script><script>(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) (window, document, "script", "https://cdn.jsdelivr.net/npm/yandex-metrica-watch/tag.js", "ym"); ym(48020168, "init", { id:48020168, clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true, trackHash:true, ecommerce:"dataLayer" });</script><link href=css/app.8f656e68.css rel=preload as=style><link href=css/chunk-vendors.5250159d.css rel=preload as=style><link href=js/app.83dc3dda.js rel=preload as=script><link href=js/chunk-vendors.5927aa28.js rel=preload as=script><link href=css/chunk-vendors.5250159d.css rel=stylesheet><link href=css/app.8f656e68.css rel=stylesheet></head><body><noscript><strong>We're sorry but vue-cli doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.5927aa28.js></script><script src=js/app.83dc3dda.js></script></body></html>

docs/js/app.687153c7.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/js/app.83dc3dda.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/js/chunk-vendors.a11b2f12.js renamed to docs/js/chunk-vendors.5927aa28.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/App.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44

55
<script>
66
export default {
7-
name: 'App',
7+
name: "App",
88
created() {
99
const currentPath = this.$router.history.current.path;
1010
11-
if (window.localStorage.getItem('authenticated') === 'false') {
12-
this.$router.push('/login');
11+
if (window.localStorage.getItem("authenticated") === "false") {
12+
this.$router.push("/login");
1313
}
1414
15-
if (currentPath === '/' || currentPath === '/app') {
16-
this.$router.push('/app/dashboard');
15+
if (currentPath === "/" || currentPath === "/app") {
16+
this.$router.push("/app/dashboard");
1717
}
1818
},
1919
};

src/components/Layout/Layout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</transition>
1212
<footer class="contentFooter">
1313
Sing App Vue Dashboard Free Template - Made by <a href="https://flatlogic.com" rel="nofollow noopener noreferrer" target="_blank">Flatlogic</a>
14-
</footer>
14+
</footer>
1515
</v-touch>
1616
</div>
1717
</div>

src/pages/Notifications/Notifications.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@
4949

5050
.location-selector .bit.left {
5151
left: 0;
52-
}
52+
}

vue.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
let publicPath = process.env.NODE_ENV === 'production' ? 'sing-app-vue-dashboard/' : '/';
1+
let publicPath = process.env.NODE_ENV === 'production' ? './' : './';
22

33
module.exports = {
44
publicPath,

0 commit comments

Comments
 (0)