Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 404 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 404 Bytes

Vue SSR to <head>

Testing server-side rendering into the <head> of the document using <Teleport to='head'>. Alas this doesn’t work well at the moment because Vue, when hydrating, expects Teleport contents to match exactly the innerHtml of the target element. This results in duplicate content ending up in the head.

To start:

npm install
npm run server

open http://localhost:3001