Your Choice JavaScript News

Vue, vuejs, cli3, update & much more…

Vue News Thursday, May 24

Offline-First Progressive Web Apps (PWA) in Vue.js

  • Progressive Web Apps are just Web pages, but with superpowers.
  • They load under uncertain network conditions, even offline.
  • They can be installed on your smartphone if the browser supports it, feeling like a native app.
  • In this course Im gonna show you how to take an existing Single Page App made in Vue.js and pragmatically convert it to a Progressive Web App by creating a web manifest, then it goes through caching static assets, external resources and streams using service workers, applying code-splitting and lazy…

Tags:

Offline-First Progressive Web Apps (PWA) in Vue.js

Vue CLI 3: A Game Changer For Frontend Development – Vue.js Developers – Medium

  • Here are some things youll love about Vue CLI 3: – No lock in, as plugins can be added at any point in the development lifecycle – Zero config plugins allow you to spend time developing rather than configuring – Easy to upgrade, as configuration can be customized without ejecting…
  • Note: this article was originally posted here on the Vue.js Developers blog on 2018/03/26Plugin architecture – The base configuration for a Vue CLI 3 project is bare-bones Webpack and Babel.
  • All the additional features can be added via plugins which enhance the project configuration in one or more of the following ways: – Altering the Webpack configuration (e.g. adding a new loader) – Altering package.json (e.g. adding a script) – Altering other files in the project tree (e.g. injecting markup…
  • If you have a favorite set of plugin preferences you want to use for every project, say, Vuex, TypeScript, and ESLint with Airbnb config, Vue CLI 3 allows you to save these preference in a locally stored preset file ~/.
  • Ejecting from Create ReactAppAnd herein is the crowning achievement of Vue CLI 3: the flexibility of the plugins and configuration APIs means there is no need to eject a Vue CLI 3 project.

Tags:

Vue CLI 3: A Game Changer For Frontend Development – Vue.js Developers – Medium

Making a scrolling card list — WotW – gitconnected

  • div id=app – div class=card – img – div class=card–content – h3title/h3 – pdescription/p – div class=card–rating – span8.0 /span – span span /div – /div – /div – /divFor the naming of the classes you might have noticed that Im using BEM, it will help when styling the cards…
  • This is cause by the space between the two span elements, and it can be removed like this: – … – div class=card–rating – span8.0 /span – span I’m removing the space – –span /div – …The behavior – Now in our Vue instance we will start declaring the data…
  • We need a lot of cards but instead of creating each one, I just did three and copied them many times: – const cardsData = [ – { – title: ‘Title 1’, – description: ‘Tempora quam ducimus dolor animi magni culpa neque sit distinctio ipsa quos voluptates accusantium possimus earum…
  • div id=app – div class=card – v-for=(card, index) in cards – :key=index – – img :src=card.img – div class=card–content – h3{{card.title}}/h3 – p{{card.description}}/p – div class=card–rating – span{{card.rating}} /span – span span – card.stars}}/span – /div – /div – – /div – /divNice, we have a lot of cards, unfortunately…
  • // … methods – calculateCardStyle (card, index) { – const cardHeight = 160 // height + padding + margin – – const positionY = index * cardHeight – const deltaY = positionY – this.scrollPosition – – // constrain deltaY between -160 and 0 – const dY = this.clamp(deltaY, -cardHeight, 0)…

Tags:

Making a scrolling card list — WotW – gitconnected

Build Async Vue.js Apps with RxJS

Tags:

Build Async Vue.js Apps with RxJS

Making a scrolling card list – WotW

Tags:

Making a scrolling card list – WotW

Top Vue Courses

Vue JS 2: From Beginner to Professional (includes Vuex) (1,798 students enrolled)

By Bo Andersen
  • How to build advanced Vue.js applications
  • How to build single page applications (SPA)
  • Understand the theory and how Vue works under the hood
  • How to manage state in large applications with Vuex
  • Communicating with servers with HTTP
  • Use modern tools for developing and building applications (e.g. webpack)

Learn more.


Vue JS 2 - The Complete Guide (incl. Vue Router & Vuex) (38,295 students enrolled)

By Maximilian Schwarzmüller
  • Build amazing Vue.js Applications - all the Way from Small and Simple Ones up to Large Enterprise-level Ones
  • Understand the Theory behind Vue.js and use it in Real Projects
  • Leverage Vue.js in both Multi- and Single-Page-Applications (MPAs and SPAs)

Learn more.


The Ultimate Vue JS 2 Developers Course (3,882 students enrolled)

By Anthony Gore
  • Understand all Vue concepts from beginner to advanced
  • Build three real world applications using Vue.js utilising every Vue feature
  • Use the Vuex statement management library
  • Write basic Vue with ES5 and also modern Vue with ES6
  • Setup VueJS environment with development tools including Webpack
  • Create a universal application with server-side rendering
  • Use popular plugins from the Vue ecosystem like vue-router and vue-resource
  • Cutting-edge features like Single File Components, Render functions and Server-Side Rendering

Learn more.


Vue JS 2.0 - Mastering Web Apps (52,495 students enrolled)

By David Katz
  • Build entire Vue JS, VueRouter, and Vuex applications from scratch.
  • Develop apps that deal with APIs and web requests.
  • Create web apps with a full authentication service, and real-time database.

Learn more.


Learn by Doing: Vue JS 2.0 the Right Way (1,437 students enrolled)

By Dejan Stošić
  • Build your own VueJS application of any size
  • Plan and structure your project
  • Write maintainable code
  • Use smart development tools like vue-cli

Learn more.