Skip to content

Commit

Permalink
chore: add tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
yanskun committed Oct 21, 2023
1 parent 5024d5a commit f8b4f46
Show file tree
Hide file tree
Showing 5 changed files with 739 additions and 38 deletions.
2 changes: 1 addition & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<p>WED Engineering Team Blog</p>
<p class="text-3xl font-bold underline">WED Engineering Team Blog</p>
<slot />
</div>
</template>
4 changes: 2 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ['@nuxt/content'],
modules: ['@nuxt/content', "@nuxtjs/tailwindcss"],
content: {
documentDriven: true
}
})
})
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"devDependencies": {
"@nuxt/content": "^2.8.5",
"@nuxtjs/eslint-config-typescript": "^12.1.0",
"@nuxtjs/tailwindcss": "^6.8.0",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"@vue/eslint-config-prettier": "^8.0.0",
Expand Down
9 changes: 9 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/** @type {import('tailwindcss').Config} */
export default {
content: [],
theme: {
extend: {},
},
plugins: [],
}

Loading

0 comments on commit f8b4f46

Please sign in to comment.