Skip to content
New issue

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

Examples should use the npm package #13

Closed
tkrotoff opened this issue Nov 1, 2017 · 2 comments
Closed

Examples should use the npm package #13

tkrotoff opened this issue Nov 1, 2017 · 2 comments

Comments

@tkrotoff
Copy link
Owner

tkrotoff commented Nov 1, 2017

Instead of:
import { ... } from '../../src/index'
use:
import { ... } from 'react-form-with-constraints'
with package.json having:
"react-form-with-constraints": "../.."

@tkrotoff
Copy link
Owner Author

tkrotoff commented Nov 12, 2017

Yarn does not support local package.json files, see yarnpkg/yarn#2822
With Lerna: lerna/lerna#618

@tkrotoff
Copy link
Owner Author

See c28d123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant