Last active
February 11, 2020 18:03
-
-
Save developit/f1a3425ded9b52206c372b6c6b54ddcb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# scaffold your project | |
npx preact-cli@rc create default my-app && cd my-app | |
# upgrade to Preact X | |
npm i -D preact-cli@rc && npm i preact@latest preact-router@latest preact-render-to-string@latest | |
npm rm preact-compat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As highlighted in this issue, the script should also
npm uninstall -S preact-compat
andnpm i preact-render-to-string@">=5.0.2"