Skip to content

Быстрый старт

Terminal window
npm install
npm run dev

Откройте http://localhost:4321

Создайте файл в src/content/docs/:

---
title: 'Название страницы'
description: 'Описание страницы'
tags: ['категория']
---
# Заголовок
Ваш контент здесь...
Terminal window
npm run build
wrangler pages deploy dist
  1. Создайте аккаунт на algolia.com
  2. Создайте новый индекс
  3. Добавьте appId, apiKey, indexName в astro.config.mjs
  4. Установите crawler для индексации
cloudflaremarx/
├── astro.config.mjs
├── package.json
├── public/
├── src/
│ ├── content/
│ │ ├── config.ts
│ │ └── docs/
│ └── assets/
└── tsconfig.json