29
leksyib
7y

Steps to writing Javascript in 2018:
1. mkdir and touch necessary files.
2. install and configure babel.
35. Start configuring webpack.
900. open app.js

Comments
  • 2
    I love gulp.
  • 1
    Or have a good framework that install a nice boilerplate or directly a nice boilerplate?

    Then is :
    Donwload boilerplate /Install boilerplate
    Download dependencies
    Run
    Profit
  • 1
    Not using create-react-app or a better boilerplate is suicide
  • 1
    Used a few of them, then removing/replacing the unnecessary dependencies was a pain ...
  • 1
    @donnico That's cool. I could work on a CLI that generates all dependencies needed for a type of project. could be MERN or MEAN.
  • 0
    @romangraef Haven't tried that. Is it easier than Webpack?
  • 0
    @willol Not when you work for a company that requires you to do everything from scratch.
    If you use starters, you're on fire.
  • 1
    3. Profit
  • 1
    Ohh that WATERFALL!
  • 1
    3mb+ of files for boilerplate is fucking ridiculous.
  • 1
    Clone create-react-app.
    npm install or yarn install as if it makes a difference.
    Look at node_modules.
    Internalise the fact that this is your app, without any of the dependencies that *you* will actually need.
    ...
    Download Elm.
Add Comment