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 c7b9a43..b6d9c77 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ 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: '/',