-
-
Notifications
You must be signed in to change notification settings - Fork 624
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
v3 Feedback #2815
Comments
Thanks @harlan-zw for the feedback.
V3 is not supporting the layers yet, but it will soon. As for the config directory, I believe
I think you are talking about defineCollection({
type: 'page',
source: {
path: '**',
prefix: '/my-prefix'
}
}) Also, there is no default collection in v3, only if
Like you said, this is a known breaking change in V3. It was a breaking change in MDC module, but in Content V2 we had a workaround to prevent it.
Could you share your directory structure for this one?
Thanks for raising concern about multi-source. Querying all collections in a single query is not an ideal solution for this, specially when collections might have different schemas, querying all at once might result in an exception. Correct me if I'm wrong, but I think you don't need multi-source to achieve your goal in NuxtSEO docs. As I see in the docs, each module docs have its own separate navigation and pages. As for command palette search, search indexes can generate for different module docs and add to palette. |
Hi, I also was pleasantly surprise on the progress of version 3 and the progress on the documentation site. I was just trying to adopt it as a PoC for my nuxt content v2 sites and I stumbled over something. I have sites where my content is only available for authenticated users. In v2 I needed to write code like this to inject the cookie when fetching content because to my knowledge
In the new version it seems again it is not possible to pass headers when querying. It would be a really nice feature because content might be available only to certain users and not public. I am also not sure how access to authenticated content is handled when this is used: WASM SQLite in Browser, can I just in the middleware allow access to |
Hi there, I saw the v3 was recently published so I thought I'd have a play around.
Instead of spamming several issues, I thought I'd make this one to track. I'm not sure if it's in a state where you're welcoming issues / PRs so let me know how I can help.
srcDir
(/app
in nuxt v4). Ideally logic should be similar to @nuxtjs/mdc see (https://github.com/nuxt-modules/mdc/blob/main/src/module.ts#L106)content
dir with your own prefix as the default collection overrides it-
in it throws an error, this is due to a SQL error (ERROR Cannot start nuxt: near "-": syntax error)source
as an object is a bit confusing, I think it would be clearer ifpaths
wasinclude
and was defaulted to**/*.md
for page typesProseCode
instead ofProseInlineCode
. This seems to be known given the component override.queryCollectionNavigation
appears to be generating nested items when they shouldn't be only sometimesI'll add more items as I continue with the integration however please feel free to close once reviewed.
The text was updated successfully, but these errors were encountered: