Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
UI_storybook
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Дмитрий Малюгин
UI_storybook
Commits
ea28f747
Commit
ea28f747
authored
3 months ago
by
Дмитрий Малюгин
Browse files
Options
Downloads
Patches
Plain Diff
docs: edit README.md
parent
a8c3443a
No related branches found
Branches containing commit
No related tags found
1 merge request
!2
Popup and colors
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+29
-18
29 additions, 18 deletions
README.md
with
29 additions
and
18 deletions
README.md
+
29
−
18
View file @
ea28f747
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment