We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am prototyping a quick project loading components from another place.
What is not working:
import MyComponent from '../../my-path-outside-vue-simple/src/components/MyComponent'
ln -s ../../my-path-outside-vue-simple/src/components/ src/
import MyComponent from './components/MyComponent'
What is working:
cp -r ../../my-path-outside-vue-simple/src/components/ src/
I really think symlink or not, the behavior should be the same.
This is probably webpack related, I quickly search for an option but couldn't find.
Thanks for everything, vue is making my life easier :)
The text was updated successfully, but these errors were encountered:
I have the same exact issue right now.
Sorry, something went wrong.
Try after adding resolve: { symlinks: false } option in webpack config.
resolve: { symlinks: false }
Yes! That worked.
If you use chain Webpack you can set the setting as described here: https://cli.vuejs.org/guide/troubleshooting.html#symbolic-links-in-node-modules
No branches or pull requests
I am prototyping a quick project loading components from another place.
What is not working:
import MyComponent from '../../my-path-outside-vue-simple/src/components/MyComponent'
ln -s ../../my-path-outside-vue-simple/src/components/ src/
then
import MyComponent from './components/MyComponent'
What is working:
cp -r ../../my-path-outside-vue-simple/src/components/ src/
then
import MyComponent from './components/MyComponent'
I really think symlink or not, the behavior should be the same.
This is probably webpack related, I quickly search for an option but couldn't find.
Thanks for everything, vue is making my life easier :)
The text was updated successfully, but these errors were encountered: