refactor: move composables, stores, plugins under app/ srcDir; fix server path resolution
This commit is contained in:
parent
8892d2e2a5
commit
e1daaede27
7 changed files with 5 additions and 3 deletions
2
app/assets/css/main.css
Normal file
2
app/assets/css/main.css
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
@import "tailwindcss";
|
||||
@import "@nuxt/ui";
|
||||
|
|
@ -13,7 +13,7 @@ export default defineNuxtConfig({
|
|||
strict: true,
|
||||
},
|
||||
|
||||
// Global CSS (Tailwind for @nuxt/ui)
|
||||
// Global CSS
|
||||
css: ["~/assets/css/main.css"],
|
||||
|
||||
// PostCSS configured separately
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { defineEventHandler } from 'h3'
|
||||
import { useFixtureIO } from '~/composables/useFixtureIO'
|
||||
import { useFixtureIO } from '../../composables/useFixtureIO'
|
||||
|
||||
export default defineEventHandler(() => {
|
||||
// Export snapshot of in-memory state
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { defineEventHandler, readBody } from 'h3'
|
||||
import { useFixtureIO, type AppSnapshot } from '~/composables/useFixtureIO'
|
||||
import { useFixtureIO, type AppSnapshot } from '../../composables/useFixtureIO'
|
||||
|
||||
export default defineEventHandler(async (event) => {
|
||||
const body = (await readBody(event)) as AppSnapshot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue