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
just been trying to test the package but i get devcert undefined,
yarn add devcert
import devcert from 'devcert'; let ssl = await devcert.certificateFor('my-app.test');
devcert is undefined
The text was updated successfully, but these errors were encountered:
Devcert does not use default exports. If you wanted to use it like you are, you would need to import it into a namespace, like this:
import * as devcert from "devcert"
Otherwise, you can do it like this:
import { certificateFor } from "devcert"
Sorry, something went wrong.
Thank you for getting back to me. I am going to try your suggestion as soon as possible. rock on!
No branches or pull requests
just been trying to test the package but i get devcert undefined,
yarn add devcert
devcert is undefined
The text was updated successfully, but these errors were encountered: