fix(docs): dedupe and add alias for vue
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
import { ssrWindow } from 'ssr-window'
|
||||
|
||||
export default (): Window & typeof globalThis & { chrome?: any } => {
|
||||
if (typeof window !== 'undefined') return window
|
||||
else return ssrWindow as any
|
||||
else return {} as any
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user