vuejs / repl

Vue SFC REPL as a Vue 3 component
https://repl-vuejs.vercel.app
MIT License
930 stars 172 forks source link

fix: editing styles in ssr mode does not update the view in time #92

Closed litingyes closed 1 year ago

litingyes commented 1 year ago

issue #91

yyx990803 commented 1 year ago

Thanks a lot for the PR - I noticed we need to access file.compiled.css to track it in all cases, but we still want to avoid injecting CSS when SSR is true. See https://github.com/vuejs/repl/commit/3b7e51126dd32e4ebf36b9bd492f1c117ac9de69