Frontend Development Guidelines
This document describes various guidelines to ensure consistency and quality across GitLab's frontend team.
Working with our frontend assets requires Node (v10.13.0 or greater) and Yarn (v1.10.0 or greater). You can find information on how to install these on our installation guide.
For our currently-supported browsers, see our requirements.
Current high-level frontend goals are listed on Frontend Epics.
High-level guidelines for contributing to GitLab.
How we plan and execute the work on the frontend.
How we go about making fundamental design decisions in GitLab's frontend team or make changes to our frontend development guidelines.
How we write frontend tests, run the GitLab test suite, and debug test related issues.
Pajamas Design System
Reusable components with technical and usage guidelines can be found in our Pajamas Design System.
Vue.js Best Practices
Vue specific design patterns and practices.
Vuex specific design patterns and practices.
Axios specific practices and gotchas.
How to use GraphQL.
Icons and Illustrations
How we use SVG for our Icons and Illustrations.
General information about frontend dependencies and how we manage them.
Read the frontend's FAQ for common small pieces of helpful information.
See the relevant style guides for our guidelines and for information on linting:
SCSS: our SCSS conventions which are enforced through
- HTML. Guidelines for writing HTML code consistent with the rest of the codebase.
- Vue. Guidelines and conventions for Vue code may be found here.
Best practices for monitoring and maximizing frontend performance.
Frontend security practices.
Our accessibility standards and resources.