Skip to content

Commit

Permalink
feat: tailwindのセットアップ
Browse files Browse the repository at this point in the history
  • Loading branch information
mii288 committed Aug 13, 2024
1 parent 2779a9e commit 822ad6f
Show file tree
Hide file tree
Showing 5 changed files with 753 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('lint-staged').Config} */
export default {
'*.{css,scss,astro}': ['npm run fix:css', 'npm run fix:format'],
'*.{js,cjs,ts,jsx,tsx,astro}': [
'*.{js,cjs,mjs,ts,jsx,tsx,astro}': [
'npm run fix:js',
'npm run fix:format',
() => 'npm run type-check'
Expand Down
5 changes: 4 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { defineConfig } from 'astro/config'
import tailwind from '@astrojs/tailwind'

// https://astro.build/config
export default defineConfig({})
export default defineConfig({
integrations: [tailwind()]
})
Loading

0 comments on commit 822ad6f

Please sign in to comment.