Skip to content

Instantly share code, notes, and snippets.

View kotofenum's full-sized avatar

Alex Khristo kotofenum

  • Front End Developer
View GitHub Profile
@igogrek
igogrek / Cookbook.md
Last active April 27, 2024 03:58
Cookbook

This cookbook is similar to Vue cookbook but contains our custom recipes for some specific cases.

Form validation

For form validation we use Vuelidate

export default Vue.extend({
  ...
 validations: {
@igogrek
igogrek / Vue code style.md
Last active April 11, 2021 06:58
Code style and application structure

Application structure

General

  1. Application has tree structure with folders for each "feature"
  2. Feature folders are named with lowerCamelCase → myComponentDashboard
  3. Feature can contain any number of components and nested features
  4. Components are named using UpperCamelCase → MyWidgetComponent.vue
  5. Component can have translation .yml file named correspondingly → MyWidgetComponent.yml
  6. If component requires more than 2 files: .vue and .yml file - folder is created with the same name → MyWidgetComponent
@PurpleBooth
PurpleBooth / README-Template.md
Last active May 6, 2024 07:22
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@notepadwebdev
notepadwebdev / gist:4229950
Created December 7, 2012 01:18
Dee Dee in the kitchen
Fuckin...
I was in my kitchen right
checking to see if my T-shirt was dry right
and I just burst out laughing
cos on the label of my T-shirt
it said George
cos I got it fae Asda
and it was as if
every time I leave the kitchen
everything in the kitchen