Open
Description
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.
