4 ms·
Why don't you list all the command you have to issue before the project hits the production? I can do this too: without the "modern frontend" all I had to do i
by rimliu 6y ago
Why don't you list all the command you have to issue before the project hits the production?
I can do this too: without the "modern frontend" all I had to do is open my code editor.
- searchableguy 6y agotbh, yarn deploy.
- rimliu 6y agoand nothing in between? No dependencies? No plugins? No changes to webpack config? Who are you trying to deceive, me or yourself?
- nullandvoid 6y agoNope nothing. Just use create-react-app everything is pre-configured for you It's as simple as `create-react-app my-app`, then `yarn start` for development, and `yarn build` to spit out production ready code into build folder
- nullandvoid 6y ago'yarn build' then copy build directory to web server
- Kaze404 6y agoyarn build & cp build /var/www
- muspimerol 6y agoUh, "git push"? With netlify or vercel you're up and running in about 60 seconds. I don't see how you get from your code editor to production without a few commands in between.
- rimliu 6y agoThat's the point: I don't. So bragging how it is easy to have an initial setup with a command or to makes no sense. It's what you do till the project reaches the production state.
- Lapz 6y agonow --prod