You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
I want to be able to symlink directories into the content/ dir, or as the content/ dir itself.
When using queryContent in Nuxt v2, or queryCollection in Nuxt v3, symlinks are ignored and I am unable to query for their contents.
Describe the solution you'd like
I would like to be able to do the following
mkdir content
cd content
ln -s ../node_modules/symbolics-data
npm run dev
# See symbolics-data be queryable
Describe alternatives you've considered
I have tried symlinking different levels of the directories, and it seems that it just stops following the moment it hits a symlink.
Additional context
A screenshot of the directory I was trying to use. content was a real directory, containing a symlink to ../node_modules/symbolics-data
We were using a symlink to a directory installed via npm, but if we replace the symlink with the directory itself, nuxt content is super happy and does as we wish.
The text was updated successfully, but these errors were encountered:
I know I can define this other collection, but why can’t I just use a symlink as well? Is there some kind of design reason Nuxt does not want to follow symlinks?
Is your feature request related to a problem? Please describe
I want to be able to symlink directories into the
content/
dir, or as thecontent/
dir itself.When using
queryContent
in Nuxt v2, orqueryCollection
in Nuxt v3, symlinks are ignored and I am unable to query for their contents.Describe the solution you'd like
I would like to be able to do the following
Describe alternatives you've considered
I have tried symlinking different levels of the directories, and it seems that it just stops following the moment it hits a symlink.
Additional context
A screenshot of the directory I was trying to use.
content
was a real directory, containing asymlink
to../node_modules/symbolics-data
We were using a symlink to a directory installed via
npm
, but if we replace the symlink with the directory itself,nuxt content
is super happy and does as we wish.The text was updated successfully, but these errors were encountered: