laravel-splade icon indicating copy to clipboard operation
laravel-splade copied to clipboard

An SSR warning when running Jetstream

Open jitterbux opened this issue 1 year ago • 6 comments

  • Laravel Version: 10.1.5
  • PHP Version: 8.2.3
  • Splade JS Version (npm): 1.3.1
  • Splade PHP Version (composer): 1.3.1
  • Dev environment (OS, Sail/Valet/etc): macOS, Valet

Description:

After a fresh installation (I did migrate and added SPLADE_SSR_ENABLED=true in my .env file) and running:

$ node bootstrap/ssr/ssr.mjs

I get in terminal when the SSR server is running this warning:

$ node bootstrap/ssr/ssr.mjs

Splade SSR server started on port 9000.

[Vue warn]: Extraneous non-props attributes (style) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.

However, after I run:

$ npm run build and then again $ node bootstrap/ssr/ssr.mjs the warning haven't shown again.

jitterbux avatar Mar 01 '23 10:03 jitterbux