frappe-ui icon indicating copy to clipboard operation
frappe-ui copied to clipboard

fix(pageMeta): Don't access `document` in top-level

Open cogk opened this issue 1 year ago • 2 comments

Improve compatibility with tools that set the document global to undefined while pre-rendering/SSR (e.g. Nitro).

https://stackoverflow.com/questions/46058544/document-is-not-defined-in-nuxt-js

cogk avatar Oct 23 '24 13:10 cogk

Deploy Preview for frappeui ready!

Name Link
Latest commit 4e553521d24e85344d65ddad6debe90719b7f84e
Latest deploy log https://app.netlify.com/sites/frappeui/deploys/6718f7c3676ad100088be50f
Deploy Preview https://deploy-preview-207--frappeui.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Oct 23 '24 13:10 netlify[bot]

@cogk

Hey are you able to use frappe-ui in a nuxt project with this change?

netchampfaris avatar Nov 26 '24 09:11 netchampfaris

https://github.com/frappe/frappe-ui/commit/7e7244d5f6f2e8929b63d31e1a12a46f06a24204

netchampfaris avatar Jun 29 '25 08:06 netchampfaris