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

Fast and Furious with VueJS & WebPack

Fast and Furious with VueJS & WebPack

Images account for 60% of the data to be loaded on almost every webpage, how fast your app performs while being used by clients is very important to the sustainability of your product, in this talk, I will show you how Webpack can increase the speed of your Vue app and how exactly to get this set up from start to finish, which would be fast & furious.

Shodipo Ayomide

November 05, 2020
Tweet

More Decks by Shodipo Ayomide

Other Decks in Technology

Transcript

  1. Fast and Furious with VueJS & WebPack November 5, 2020

    SHODIPO AYOMIDE | VUE TORONTO, TORONTO, ONTARIO
  2. Shodipo Ayomide Senior Developer Advocate & Developer ProgramS Manager -

    GitHub Star - Cloudinary Media Developer Expert - Community Evangelist Twitter & GitHub @developerayo
  3. @DEVELOPERAYO VueJS is designed to be simple and very flexibe

    when it comes to changes and features.
  4. @DEVELOPERAYO Why does speed matter? The attention span of alot

    of people is very limited, and in website design it’s all about instant delivery. Notwithtstanding how powerful of up to date the features you have on your product, if it's slow, users will turn away.
  5. @DEVELOPERAYO Why does speed matter? Users love instant delivery of

    what they want, if you can optimize successfully and use the right technologies and your performance speed to top notch, you just gained a paying user.
  6. @DEVELOPERAYO Speed == Great user experience Performance is the first

    impression your product gives to users. - You never get a second chance to make a good first impression. - Will Rogers
  7. @DEVELOPERAYO Speed == Great user experience Performance is the first

    impression your product gives to users. - You never get a second chance to make a good first impression. - Will Rogers
  8. @DEVELOPERAYO Your application's core need's to be super fast, users

    need to receive what you are rendering as fast as possible, For this you need to load your components asynchronous
  9. Install the webpack-bundle-analyzer via `NPM` or `YARN`. This will add

    the webpack-bundle- analyser to your `package.json` file. WebPack Bundle Analyzer
  10. @DEVELOPERAYO Once you have setup the webpack bundle-analyzer you then

    have to run the `npm run build` command in your terminal, and it’ll generate another host. WebPack Bundle Analyzer
  11. @DEVELOPERAYO Visit the generated host by clicking the IP, `127.0.0.1:8888`

    to view the visuals of your JavaScript Bundles WebPack Bundle Analyzer
  12. Questions? Follow me on Twitter & GitHub @developerayo Thank You!

    SHODIPO AYOMIDE | VUE TORONTO, TORONTO, ONTARIO