Skip to content

How to add auth to apps created before 0.18.0? #1090

Answered by flybayer
flybayer asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, great question Brandon!

There's two main ways:

  1. See diff
    • npm i -g blitz@latest
    • blitz new your-existing-app-name
    • Any totally new files will be created. And existing files with changes will show you a diff and ask whether you want to overwrite or not.
  2. Generate and copy
    • npm i -g blitz@latest
    • blitz new newApp
    • Compare files between your existing app and this newApp. And manually copy over files from the new app to your app. Pay attention to differences in installed dependencies and blitz.config.js.

Replies: 1 comment 1 reply

Comment options

flybayer
Sep 15, 2020
Maintainer Author

You must be logged in to vote
1 reply
@thomasbroderick
Comment options

Answer selected by flybayer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants