- Clone project
- Run
yarn - Copy the
.env.local.templateto.env.local - Run
yarn devto spin up a local web server
This repo uses Prettier to automatically improve the formatting of files when you save a file. The setup is a bit different for every editor, so see Prettier's Editor Integration to get instructions on how to activate it for your favorite editor.
Visual Studio Code:
Create .vscode/settings.json and paste the following:
{
// Activate auto-formatting for all supported files
"editor.formatOnSave": true,
// Make sure Prettier is set as default formatter
"editor.defaultFormatter": "esbenp.prettier-vscode",
// Fix ESLint, Stylelint and TSLint errors on save
"editor.codeActionsOnSave": {
// For ESLint
"source.fixAll.eslint": true,
// For TSLint
"source.fixAll.tslint": true
},
// Don't use built in CSS validation.
// Stylelint will handle the validation.
"css.validate": false,
"javascript.validate.enable": false
}