Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anyaperelygina/ujjo
Hot sauce for coffee
https://github.com/anyaperelygina/ujjo
astro
Last synced: 7 days ago
JSON representation
Hot sauce for coffee
- Host: GitHub
- URL: https://github.com/anyaperelygina/ujjo
- Owner: AnyaPerelygina
- Created: 2024-10-21T15:58:15.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-10-22T10:56:20.000Z (4 months ago)
- Last Synced: 2024-10-22T19:12:55.448Z (4 months ago)
- Topics: astro
- Language: JavaScript
- Homepage:
- Size: 50.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Гайд по работе со сборкой
Для начала работы у вас должент быть установлен Node.js 18
## 🚀 Структура проекта
Внутри проекта вы увидете следующие папки и файлы:
```text
/
├── public/
│ ├── favicon.svg
│ ├── fonts/
│ └── svg/
├── src/
│ ├── components/
│ │ ├── Container/
│ │ │ ├── Container.astro
│ │ │ └── Container.scss
│ │ └── ...
│ ├── ui/
│ │ ├── Button/
│ │ │ ├── Button.astro
│ │ │ └── Button.scss
│ │ └── ...
│ ├── layouts/
│ │ ├── root/
│ │ │ └── root.astro
│ │ ├── Main/
│ │ │ └── Main.astro
│ │ └── ...
│ ├── pages/
│ │ ├── index.astro
│ │ ├── sitemap.astro
│ ├── styles/
│ │ ├── components/
│ │ ├── global/
│ │ ├── vendors/
│ │ └── index.scss
│ ├── scripts/
│ │ ├── modules/
│ │ ├── utils/
│ │ └── index.js
│ └── images/
├── util/
└── package.json
```## 🐱💻 Команды
Все команды запускаются из корня проекта:
| Command | Action |
| :------------------------------------ | :---------------------------------------------------- |
| `npm install` | Установить зависимости |
| `npm run dev` | Запустить локальный дев сервер `localhost:4321` |
| `npm run start` | Запустить сервер c IP адресом `localhost:IP` |
| `npm run build` | Собрать билд для продакшна `./dist/` |
| `npm run preview` | Посмотреть билд локально перед деплоем |
| `npm run astro -- --help` | Получить помощь в использовании Astro CLI |
| `npm run lint` | Запустить линтер с автоисправлениями |
| `npm run gen:component name` | Создать компонент Astro по шаблону в папку components |
| `npm run gen:component name --ui` | Создать ui компонент Astro по шаблону |
| `npm run gen:component name --layout` | Создать layout компонент Astro по шаблону |