Slide 1

Slide 1 text

Fast and Furious with VueJS & WebPack November 5, 2020 SHODIPO AYOMIDE | VUE TORONTO, TORONTO, ONTARIO

Slide 2

Slide 2 text

Shodipo Ayomide Senior Developer Advocate & Developer ProgramS Manager - GitHub Star - Cloudinary Media Developer Expert - Community Evangelist Twitter & GitHub @developerayo

Slide 3

Slide 3 text

5 Billion Devices Connected to web globally. @DEVELOPERAYO

Slide 4

Slide 4 text

SPEED AS A FEATURE @DEVELOPERAYO

Slide 5

Slide 5 text

@DEVELOPERAYO VueJS is a progressive JavaScript framework for building user interfaces for the web. What is VueJS

Slide 6

Slide 6 text

@DEVELOPERAYO VueJS is designed to be simple and very flexibe when it comes to changes and features.

Slide 7

Slide 7 text

@DEVELOPERAYO VueJS has out of the box, Performance as a feature. Issn't that great?

Slide 8

Slide 8 text

@DEVELOPERAYO VueJS is powerful enough to build powerful single page applications.

Slide 9

Slide 9 text

@DEVELOPERAYO Some Benefits - Out of the box Performance - Easy to Learn - Easy to maintain

Slide 10

Slide 10 text

@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.

Slide 11

Slide 11 text

@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.

Slide 12

Slide 12 text

@DEVELOPERAYO Speed == Great user experience

Slide 13

Slide 13 text

@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

Slide 14

Slide 14 text

@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

Slide 15

Slide 15 text

@DEVELOPERAYO Performance is about improving conversions and the success of users.

Slide 16

Slide 16 text

@DEVELOPERAYO Performance in VueJS

Slide 17

Slide 17 text

@DEVELOPERAYO Keep the core of your application simple and straight forward, Do not over-engineer.

Slide 18

Slide 18 text

@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

Slide 19

Slide 19 text

@DEVELOPERAYO WebPack Bundle Analyzer

Slide 20

Slide 20 text

Install the webpack-bundle-analyzer via `NPM` or `YARN`. This will add the webpack-bundle- analyser to your `package.json` file. WebPack Bundle Analyzer

Slide 21

Slide 21 text

Setup the webpack-bundle- analyzer as a plugin in your `webpack.config.prod.js` file WebPack Bundle Analyzer

Slide 22

Slide 22 text

@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

Slide 23

Slide 23 text

@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

Slide 24

Slide 24 text

Questions? Follow me on Twitter & GitHub @developerayo Thank You! SHODIPO AYOMIDE | VUE TORONTO, TORONTO, ONTARIO