-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a condition to check for nuxt server rendering
- Removed the old condition that checks for nuxt client rendering - add this condition because window object is not defined in server rendering - it is present only in client (browser).
- Loading branch information
1 parent
f0d5ec2
commit 64d66d0
Showing
1 changed file
with
22 additions
and
24 deletions.
There are no files selected for viewing
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