Overview of vike-solid features
mainThe vike-solid extension provides a high-level developer experience for Solid.js integration by automating several Vike internals:
- Automated Hooks & Settings: It sets up Vike hooks like
onRenderHtml()andonRenderClient(), and introduces new settings likessr,stream, and<Layout>. - Solid Component Hooks: It implements specialized Solid hooks for interacting with Vike, such as
useData()andusePageContext(). - Metadata & Attributes: It provides built-in support for managing
<Head>content, includingtitle,description,image,favicon,viewport,lang,htmlAttributes, andbodyAttributes.