0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00

Added solid-js fixture

This commit is contained in:
jeroenpg 2024-12-14 17:22:58 +01:00
parent 33e4b924a8
commit b46efd141f
2 changed files with 8 additions and 3 deletions

View file

@ -4,12 +4,12 @@
"private": true,
"dependencies": {
"@astrojs/react": "workspace:*",
"@astrojs/vue": "workspace:*",
"@astrojs/solid-js": "workspace:*",
"@astrojs/vue": "workspace:*",
"astro": "workspace:*",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"vue": "^3.5.13",
"solid-js": "^1.9.3"
"solid-js": "^1.9.3",
"vue": "^3.5.13"
}
}

View file

@ -0,0 +1,5 @@
// Render a solid component to ensure multi-framework setups work when framework type cannot
// be derived from extension alone.
export default function ({ name }) {
return <h2 id={`solid-${name}`}>Greetings {name}!</h2>;
}