- Application has tree structure with folders for each "feature"
- Feature folders are named with lowerCamelCase → myComponentDashboard
- Feature can contain any number of components and nested features
- Components are named using UpperCamelCase → MyWidgetComponent.vue
- Component can have translation .yml file named correspondingly → MyWidgetComponent.yml
- If component requires more than 2 files: .vue and .yml file - folder is created with the same name → MyWidgetComponent
This cookbook is similar to Vue cookbook but contains our custom recipes for some specific cases.
For form validation we use Vuelidate
export default Vue.extend({
...
validations: {
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Console\Commands\Google; | |
| use Google_Client; | |
| use Google_Http_Batch; | |
| use Google_Service_Docs_BatchUpdateDocumentRequest; | |
| use Google_Service_Docs_ReplaceAllTextRequest; | |
| use Google_Service_Docs_SubstringMatchCriteria; | |
| use Google_Service_Docs; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div class="container"> | |
| <h1 class="text-2xl">{{ page.meta_h1 }}</h1> | |
| <component | |
| :is="component.name" | |
| v-for="(component, i) in components" | |
| :key="i" | |
| v-bind="component.props" | |
| /> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| COLOR_BLACK=0 | |
| COLOR_RED=1 | |
| COLOR_GREEN=2 | |
| COLOR_YELLOW=3 | |
| COLOR_GREY=8 | |
| reset_color="$(tput sgr0)" |
- Комьюнити чат Serverless: https://t.me/YandexCloudFunctions/1
- Подборка статей о Serverless: https://habr.com/ru/articles/545556/
- Разграничение доступа к API с помощью Yandex API Gateway: https://cloud.yandex.ru/blog/posts/2023/07/yandex-api-gateway-and-jwt-authorizer
- Serverless Game: https://github.com/yandex-cloud-examples/yc-serverless-serverless-game
- Amazon NoSQL Workbench for DynamoDB: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/workbench.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Below is an the extended Filament resource your tenant panel resources | |
| * will have to extend so that the queries are scoped properly. | |
| */ | |
| namespace App\Filament; | |
| use Filament\Resources\Resource; |
OlderNewer