pedronauck/docz
The issue has been solved
Create react app with absolute imports (`NODE_PATH`) #396
KATT posted onGitHub
Question
Description
Reading #140 I get the impression that NODE_PATH
in .env
should be supported.
I've gotten a create-react-app until the point of supporting absolute paths. Is there any way to tell docz to use src
as NODE_PATH
?
Steps to reproduce
I've created an example in https://github.com/KATT/create-react-app-docz-test
git clone git@github.com:KATT/create-react-app-docz-test.git
cd create-react-app-docz-test
yarn docz:dev
Error
This dependency was not found:
* components/Logo in ./src/components/App/index.js
Note
The example project works if we revert eaba11.