theaterpedia / theaterpedia-core

template-functionality for the theaterpedia-network
https://docs.theaterpedia.org
1 stars 2 forks source link

[Issue]: Nuxt-Autoimports don't work #8

Closed crearis closed 5 months ago

crearis commented 6 months ago

Describe the current status

in branch episodes/autoimports (and all other branches) the following autoimports don't work: a: nuxt-config.ts > we need to manually "import { defineNuxtConfig } from 'nuxt/config'

b: packages/theme/pages/product/[slug].vue > no composable, components, standard-vue-imports (ref ...), standard-nuxt-autimports (useHead)

same for data-layer, same for apps/tp-template

the project compiles and runs properly as far as I understand, for instance in console: [vue-tsc] Found 0 errors

Expected status or behavior

We need these autoimports to work to benefit from typescript-support.

Steps to reproduce

open https://verbose-funicular-g4pv5q974p5cw7pg.github.dev/

then open packages/theme/pages/product/[slug].vue

to run the project: yarn dev --filter=tp-template

CrearisUI version

No response

Node version

-

Browser

-

OS

-

Relevant log output

No response

crearis commented 5 months ago

I've researched this and found the spot from where to solve the issue (tsconfig and layers-logic)