I'd like my code to have the same linting (eslint and prettier), and there will be some shared code, mostly interfaces/models. I think it makes sense to do something like this:apppackage.json??linting config files?express-backendpackage.jsonvue-frontendpackage.jsonsharedpackage.jsonNow will I have to put a third package.json at the same level as the backend and frontend folders? I want to have the same linting rules across the project.Also how does deployment work? I'd like to deploy them to the same server. Only difference is that all the express routes are only accessible at sidename.com/api
Submitted September 15, 2020 at 06:25PM by pyboy10000
No comments:
Post a Comment