Skip to content

Commit

Permalink
feat: tailwindconfig update
Browse files Browse the repository at this point in the history
  • Loading branch information
colinscz committed Dec 29, 2024
1 parent f1d5050 commit d4cdabe
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 7 deletions.
7 changes: 4 additions & 3 deletions app.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<div>
<NuxtRouteAnnouncer />
<NuxtWelcome />
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</div>
</template>
</template>
5 changes: 5 additions & 0 deletions pages/about.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<template>
<section>
<p>This page will be displayed at the /about route.</p>
</section>
</template>
11 changes: 11 additions & 0 deletions pages/index.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<script setup lang="ts">
</script>

<template>

</template>

<style scoped>
</style>
8 changes: 4 additions & 4 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const animate = require("tailwindcss-animate")
import tailwindcssAnimate from 'tailwindcss-animate'

/** @type {import('tailwindcss').Config} */
module.exports = {
export default {
darkMode: ["class"],
safelist: ["dark"],
prefix: "",

theme: {
container: {
center: true,
Expand Down Expand Up @@ -82,5 +82,5 @@ module.exports = {
},
},
},
plugins: [animate],
plugins: [tailwindcssAnimate],
}

0 comments on commit d4cdabe

Please sign in to comment.