Skip to content
Snippets Groups Projects
Commit ea28f747 authored by Дмитрий Малюгин's avatar Дмитрий Малюгин :clock4:
Browse files

docs: edit README.md

parent a8c3443a
No related branches found
No related tags found
1 merge request!2Popup and colors
......@@ -16,29 +16,40 @@
- ToggleSwitch;
- Divider.
## Components count: 10
## Bundle size: 248.7KB
### Настройка окружения
---
## Общая информация
### Components count: 10
### Bundle size: 254.6KB
---
## Важные моменты при разработке
### Общее начало шаблона для компонентов:
```
const props = withDefaults(defineProps<IProps>(), {
});
const emit = defineEmits(['']);
const visible = defineModel('');
watch(, () => {});
const computed = computed(() => );
```
- I*Componentname*Props вместо ```IProps```;
- watchers после defineModel;
- далее - computeds;
- затем - функции (handlers).
### После создания иконки:
1. Добавить иконку в iconsSet (src/common/constants/icons);
2. Добавить иконку в соответствующий массив в App.vue.
---
## Настройка окружения
### Установка зависимостей:
```sh
yarn
```
### Просмотр существующих иконок в виде списка и тестирование компонентов
### Просмотр существующих иконок в виде списка и тестирование компонентов:
```sh
yarn dev
```
### Проверка типов, компиляция и минимизация для production
### Проверка типов, компиляция и минимизация для production:
```sh
yarn build
```
## Важные моменты при разработке
После создания иконки:
1. Добавить иконку в iconsSet (src/common/constants/icons);
2. Добавить иконку в соответствующий массив в App.vue.
\ No newline at end of file
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment