diff --git a/packages/webawesome/docs/docs/experimental/ssr.md b/packages/webawesome/docs/docs/experimental/ssr.md index b80f19217..641e77b9b 100644 --- a/packages/webawesome/docs/docs/experimental/ssr.md +++ b/packages/webawesome/docs/docs/experimental/ssr.md @@ -16,8 +16,8 @@ SSR in Web Awesome is experimental! There are some known bugs and timing issues. If you're using the `webawesome.loader.js` file which automatically loads, make sure to change it to `webawesome.ssr-loader.js`. ```diff -- -+ +- ++ ``` If you're using a bundler, make sure it comes _before_ any components are imported. @@ -43,7 +43,10 @@ import litPlugin from '@lit-labs/eleventy-plugin-lit'; eleventyConfig.addPlugin(litPlugin, { mode: 'worker', - componentModules: ['@awesome.me/webawesome/dist/components/button/button.js', '@awesome.me/webawesome/dist/components/input/input.js'], + componentModules: [ + '@awesome.me/webawesome/dist/components/button/button.js', + '@awesome.me/webawesome/dist/components/input/input.js', + ], }); ``` @@ -114,4 +117,4 @@ Here are some known issues and things we're still working on. - `@shoelace-style/localize` (our localization library) has no way to set a language currently so it always falls back to `en`. - `` has no fallback if there's no JS besides a blank ``. There's perhaps some backend mechanisms we can use to fetch. But requires altering APIs. Should also have a way to set height / widths, but we don't want to increase pain for SSR users. - `` QR Code will not error on the backend and will render a blank canvas at the appropriate size, but will not render the canvas until the client component connects. -- `setBasePath` and `kit codes` may need reconfiguring to work with SSR. \ No newline at end of file +- `setBasePath` and `kit codes` may need reconfiguring to work with SSR.