Add tailwindcss

This commit is contained in:
Oliver Davies 2019-05-25 00:24:36 +01:00
parent 7152740458
commit 7176baeb20
5 changed files with 108 additions and 26 deletions

View file

@ -1,5 +1,5 @@
<template>
<div id="app">
<div id="app" class="min-h-screen font-sans bg-white text-black">
<div id="nav">
<router-link to="/">Home</router-link> |
<router-link to="/about">About</router-link>
@ -8,24 +8,4 @@
</div>
</template>
<style>
#app {
font-family: 'Avenir', Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
}
#nav {
padding: 30px;
}
#nav a {
font-weight: bold;
color: #2c3e50;
}
#nav a.router-link-exact-active {
color: #42b983;
}
</style>
<style src="./css/app.css"></style>

5
src/css/app.css Normal file
View file

@ -0,0 +1,5 @@
@tailwind base;
@tailwind components;
@tailwind utilities;