Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use listhen for preview command for static presets #2580

Open
2 tasks
danielroe opened this issue Jul 2, 2024 · 1 comment
Open
2 tasks

use listhen for preview command for static presets #2580

danielroe opened this issue Jul 2, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@danielroe
Copy link
Member

danielroe commented Jul 2, 2024

  • requires listhen have support for taking no entrypoint
  • set baseURL in preview command for static preset to respect nitro config

https://github.com/unjs/listhen

@andresilva-cc
Copy link

Came from nuxt/nuxt#27923.

I'm also having this problem and had to manually copy everything from .output/public into .output/public/<baseURL>, that works for now.

There's also another problem related with baseURL when using Vitest with nuxt environment, it gives the following error:

[nuxt] error caught during app initialization FetchError: [GET] "/<baseURL>/_nuxt/builds/meta/test.json": 404 Cannot find any path matching /<baseURL>/_nuxt/builds/meta/test.json.

It's been reported here: nuxt/test-utils#865

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants