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:
parent
33e4b924a8
commit
b46efd141f
2 changed files with 8 additions and 3 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
5
packages/integrations/react/test/fixtures/react-component/src/components/Greetings.solid.jsx
vendored
Normal file
5
packages/integrations/react/test/fixtures/react-component/src/components/Greetings.solid.jsx
vendored
Normal 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>;
|
||||
}
|
Loading…
Add table
Reference in a new issue