This repository was archived by the owner on Dec 26, 2018. It is now read-only.
This repository was archived by the owner on Dec 26, 2018. It is now read-only.
Could we please drop peerDependencies? #81
Closed
Description
In some of my builds I need none of the peerDependencies..
I would prefer a error on runtime when I forgot a dependency, like
you are trying to use hot reloading, but
vue-hot-reload-api
wasn't found. Run:
npm install --save-dev vue-hot-reload-api
or when using a not installed language:
you are trying to use babel but it isn't installed. Run:
npm install --save-dev babel-core babel-runtime babel-preset-es2015 babel-plugin-transform-runtime
Example:
if (style) {
try {
require.resolve("vueify-insert-css")
} catch {
throw new Error("you are trying to use the style tag, but vueify-insert-css isn't installed. Run:\nnpm install --save-dev vueify-insert-css")
}
}
I'm willing to create a PR, if wanted.
Metadata
Metadata
Assignees
Labels
No labels