chore: add @tailwindcss/postcss and PostCSS setup for Tailwind v4
This commit is contained in:
parent
40c249264c
commit
1cee60953e
17 changed files with 263 additions and 7 deletions
11
server/api/fixtures.post.ts
Normal file
11
server/api/fixtures.post.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import { defineEventHandler, readBody } from 'h3'
|
||||
import { useFixtureIO, type AppSnapshot } from '~/composables/useFixtureIO'
|
||||
|
||||
export default defineEventHandler(async (event) => {
|
||||
const body = (await readBody(event)) as AppSnapshot
|
||||
const { importAll } = useFixtureIO()
|
||||
importAll(body)
|
||||
return { ok: true }
|
||||
})
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue