|
|
|
@ -7,7 +7,7 @@ |
|
|
|
|
``` |
|
|
|
|
3. Скачать компоненты через git subtree: |
|
|
|
|
```bash |
|
|
|
|
git subtree pull --prefix=template-parts/la-components la-components main |
|
|
|
|
git subtree pull --prefix=template-parts/la-components la-components master |
|
|
|
|
``` |
|
|
|
|
4. Установить зависимости: `npm install` |
|
|
|
|
5. Собрать ассеты: `npm run dev` или `npm run production` |
|
|
|
@ -27,12 +27,12 @@ |
|
|
|
|
|
|
|
|
|
#### Обновить компоненты (получить изменения из la-components): |
|
|
|
|
```bash |
|
|
|
|
git subtree pull --prefix=template-parts/la-components la-components main |
|
|
|
|
git subtree pull --prefix=template-parts/la-components la-components master |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
#### Отправить изменения обратно в la-components: |
|
|
|
|
```bash |
|
|
|
|
git subtree push --prefix=template-parts/la-components la-components main |
|
|
|
|
git subtree push --prefix=template-parts/la-components la-components master |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
#### Посмотреть историю изменений в subtree: |
|
|
|
|