What's the "proper" way to start adding code to the frontend?
What I have tried:
1. cd frontend
2. npm i
3. npm i --save-dev eslint-config-react-app eslint-plugin-import eslint-plugin-flowtype eslint-plugin-jsx-a11y eslint-plugin-react object.fromentries array.prototype.flatmap string.prototype.matchall internal-slot eslint-plugin-react-hooks
(I had to install all these, so that I won't get "module not found" errors on running gulp watch
)
4. gulp watch
After all these steps, gulp yells hundreds of warnings and errors at me.
I noticed there is a package.json
file on the root directory of the project, so there may be something wrong with my practice.
Also, as docker mounts all files in the project to the container, will the huge node_modules
folder slow things down?
Does anyone have any ideas? Thanks!