Static GitHub Issues

[1065] Pages assets with symlink directory in linux based system

prev: Method after nuxt.render not excute
next: How to use WOW.js with nuxt

Hi all.

I met a problem with nuxt.js make a page asset like this. I tried several times with clean installed repository or new version of nuxt.

$ tree pages
pages
├── index.vue
└── web -> ../../../mockup/web

in web folder it used by symbolic link to nuxt pages folder

$ tree web
web
└── index.vue

it makes some errors with nuxt.js base system.

ERROR  Failed to compile with 1 errors                                                                                     10:01:20

This dependency was not found:

* /home/user/Repository/nuxt-symlink/pages/web/index.vue in ./.nuxt/router.js

To install it, you can run: npm install --save /home/user/Repository/nuxt-symlink/pages/web/index.vue

How can I solve this?

Thanks in advance!

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c925">#c925</a>)</em></sub></div>