-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
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
Use Vite for v9 updates to the codelab #224
base: master
Are you sure you want to change the base?
Conversation
Fixes for the codelab update
"eslint": "^4.17.0", | ||
"prettier": "^1.5.3" | ||
"prettier": "^1.5.3", | ||
"vite": "^2.9.6" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider updating to Vite 3 now that it's out
|
||
async addRating(restaurantID, rating) { | ||
/* | ||
TODO: Retrieve add a rating to a restaurant |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: Retrieve add a rating to a restaurant | |
TODO: Add a rating to a restaurant |
firebase.initializeApp({ | ||
/* Enter your config here */ | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this import from scripts/config.js
just like app.js
does?
Does |
export const config = { | ||
firebase: { | ||
/* Enter your config here */ | ||
} | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FriendlyChat throws an error if config isn't provided. Want to do the same thing here?
No description provided.