mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
9e35758ec3
The docs example template includes Algolia’s Docsearch components to provide a search bar but this doesn’t support React 18 yet, so will error when dependencies are being installed. See https://discord.com/channels/830184174198718474/965413318678425600
25 lines
563 B
JSON
25 lines
563 B
JSON
{
|
|
"name": "@example/docs",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"start": "astro dev",
|
|
"build": "astro build",
|
|
"preview": "astro preview"
|
|
},
|
|
"dependencies": {
|
|
"@algolia/client-search": "^4.13.0",
|
|
"@docsearch/css": "^3.0.0",
|
|
"@docsearch/react": "^3.0.0",
|
|
"@types/react": "^17.0.44",
|
|
"preact": "^10.7.1",
|
|
"react": "^17.0.0",
|
|
"react-dom": "^17.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@astrojs/preact": "^0.1.1",
|
|
"@astrojs/react": "^0.1.0",
|
|
"astro": "^1.0.0-beta.12"
|
|
}
|
|
}
|