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 developed a component library using vue-demi
I wrote the following in my package.json according to the documentation
{ "dependencies": { "vue-demi": "latest" }, "peerDependencies": { "@vue/composition-api": "^1.0.0-rc.1", "vue": "^2.0.0 || >=3.0.0" }, "peerDependenciesMeta": { "@vue/composition-api": { "optional": true } }, }
When others use my component library, it will report an error while he installs dependencies
Presumably because he is using npm 7, I looked at the npm documentation: https://docs.npmjs.com/cli/v8/configuring-npm/package-json#peerdependencies
As of npm v7, peerDependencies are installed by default.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I developed a component library using vue-demi
I wrote the following in my package.json according to the documentation
When others use my component library, it will report an error while he installs dependencies
Presumably because he is using npm 7, I looked at the npm documentation: https://docs.npmjs.com/cli/v8/configuring-npm/package-json#peerdependencies
The text was updated successfully, but these errors were encountered: