From 3c231cb1e154a9dc35342ca272d9e005bad07692 Mon Sep 17 00:00:00 2001 From: androiddrew Date: Tue, 24 Apr 2018 07:54:24 -0400 Subject: [PATCH] Initial commit --- package-lock.json | 6 ++++++ package.json | 1 + public/favicon.ico | Bin 1150 -> 1552 bytes public/index.html | 2 +- src/App.vue | 34 +++++++++++++++++++++++++++++----- src/components/HelloWorld.vue | 25 ------------------------- src/components/NavBar.vue | 15 +++++++++++++++ src/router.js | 3 +++ 8 files changed, 55 insertions(+), 31 deletions(-) create mode 100644 src/components/NavBar.vue diff --git a/package-lock.json b/package-lock.json index 6c47c01..c380e94 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12922,6 +12922,12 @@ "string-width": "2.1.1" } }, + "tachyons": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/tachyons/-/tachyons-4.9.1.tgz", + "integrity": "sha512-trJFXhzDZeHRcd9Bqn6ub3e0VqGWKMsGdP7RJoT+8Ihoak41o1qCwqcFx8hsFlfFWa6a4jsb464TNXnTt+MPnw==", + "dev": true + }, "tapable": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.0.0.tgz", diff --git a/package.json b/package.json index 8ab7322..17849ce 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "@vue/eslint-config-airbnb": "^3.0.0-beta.6", "node-sass": "^4.7.2", "sass-loader": "^6.0.6", + "tachyons": "^4.9.1", "vue-template-compiler": "^2.5.13" }, "browserslist": [ diff --git a/public/favicon.ico b/public/favicon.ico index c7b9a43c8cd16d0b434adaf513fcacb340809a11..b6d9c7727ca2eec9c40ff1e49ba0a55875fef753 100644 GIT binary patch literal 1552 zcmZ{kc~DbV6vmG%f*`eHZ4s9#t*wKNke5J!WGtAlQ^EuYpa@73UP1y%CE0FaoWL*cvFOc>#G~Puui*Gweiql(-Qd&UP2r(59T?R4b zAgu@a1=Ieg=bpXl%fDuo+zj!xz%K!QDIC9HKlSF3W^wM^ozVTwApQ|VmC$xSVQER* z{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p^lRFD?|5J_eupXaS;QluyrOmBT>PJhirMYb*i?(4Tf=j~?VvnUlY_ zDCVuuk3E&T9aP~Cr-0i-MaKUjf_|U!=R&t}_CfD=d${p~HH`BPaqb9aXT}UI$iGRg z>0^GlZ`vM4?;$*LhfI(RG|XK4GF+@-W*W}YJT5&2N_ZyZuaM_Ry=%PWx>r0P(Rc?> jRc4}SfGA>*agjwN{7E7DEm(*)%rSx{B0<6wBoglxJAy|R diff --git a/public/index.html b/public/index.html index f039fb5..033af57 100644 --- a/public/index.html +++ b/public/index.html @@ -7,7 +7,7 @@ vue_tachyons - + diff --git a/src/App.vue b/src/App.vue index f300d4b..9728085 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,14 +1,28 @@ + + diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue index b8371ac..006aa36 100644 --- a/src/components/HelloWorld.vue +++ b/src/components/HelloWorld.vue @@ -1,31 +1,6 @@ diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue new file mode 100644 index 0000000..587b123 --- /dev/null +++ b/src/components/NavBar.vue @@ -0,0 +1,15 @@ + + diff --git a/src/router.js b/src/router.js index f1c2257..e65d9d8 100644 --- a/src/router.js +++ b/src/router.js @@ -6,6 +6,9 @@ import About from './views/About.vue'; Vue.use(Router); export default new Router({ + // Use Browsers history API + mode: 'history', + linkActiveClass: 'is_active', routes: [ { path: '/',