- Run
$ git clone https://github.com/KumarAbhirup/headless-wordpress-with-react <PROJECT_NAME> # to clone project
$ cd <PROJECT_NAME> # enter in the project
$ yarn # install modules
$ yarn dev # run development server
- Visit
http://localhost:3001/
- Install ESLint and Prettier VSCode extensions.
- Done! Now you have live linting and autofixing setup!
- Run
yarn lint
to check for linting errors. - Run
yarn lint:fix
to fix the linting errors.
- To customize the linter, use
.eslintrc.js
and.prettierrc
file. Learn more
MIT - Source code by Kumar Abhirup