Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to simplify web development and reduce JS Fatigue

How to simplify web development and reduce JS Fatigue

Today, if you want to make a web app, you need to know bundlers, JS frameworks, NPM, Node.js, CSS frameworks, configure everything and hope that it will last enough before refactoring it (again). Nuxt.js let you start directly from the fun part: writing files. Each file has a purpose and let you focus on your application by following simple conventions. The whole will be optimised and ready for production, because that's how easy it should be to write web apps and websites, like back in the 2000's.

FrontConf

April 27, 2019
Tweet

More Decks by FrontConf

Other Decks in Technology

Transcript

  1. "Frameworks are not tools for organizing your code, they are

    tools for organizing your mind." — Rich Harris
  2. { } + vue-router (vuex) + 4 7 + +

    <no-ssr> { + 7 } + 2
  3. MAKE IT SIMPLE nuxt_js File system routing Directory structure to

    follow nuxt build to bundle for production
 (transpile + minify)
  4. NUXT DISTRIBUTIONS nuxt_js nuxt-ts experimental nuxt-legacy node < 8 nuxt-start

    production: 8.23MB* *-edge bleeding edge github.com/nuxt/nuxt.js/tree/dev/distributions nuxt development: 68.4MB* * installation size
  5. FAST APPLICATIONS nuxt_js Resources preload + HTTP2 Push support Compression

    middleware + ETAG + Caching serve-placeholder + Smart prefetching
  6. SECURE APPLICATIONS nuxt_js Content Security Policy with render.csp Server bundle

    isolation + Context isolation NPM Audit + Renovate Bot + Security patches
  7. WORLDWIDE TEAM nuxt_js SEBASTIEN CHOPIN French / English Atinux POOYA

    PARSA (اسراپ ایوپ) Persian / English _pi0_ ALEXANDER LICHTER German / English TheAlexLichter DMITRY MOLOTKOV (Дзмітрый Малаткоў) Belorussian / Russian / English aldarund KEVIN MARREC French / English K_Marrec CLARK DU (杜欣) Chinese / English ClarkDu_ JONAS GALVEZ Portuguese / English anothergalvez ALEXANDRE CHOPIN French / English _achopin
  8. NUXT REACTIVITY nuxt_js Issues 97 % 3 % Open Closed

    4108 issues PRs 18 % 81 % 1 % Open Merged Closed 1402 pull requests Commit activity