Vue.js apps can be written in plain old JavaScript but it is much better using the ECMAScript 6 features, or even better: the type-safety of TypeScript. Several chapters are dedicated to these topics, to understand them and write beautiful code.
Vue.js is a modern JavaScript framework supercharged with awesome features: we'll explore the templating syntax, architecture choices, routing, tests, forms, etc.
This ebook and these exercises are the result of countless hours spent on different projects. They contain all the best practices we encountered. We would have saved so much time if we had that book when we started! We go over kickstarting, tests, code organisation, tips for production, and more!
The whole framework is component oriented. Vue.js has an ecosystem of component libraries and plugins which grows every day. Who never needed a chart, a map, a timepicker or a data-grid?
As usual, we'll spend some time talking about tests and testing strategies. And if you choose the Pro Pack, you'll have dozens of unit and end-to-end test examples for every part of your app. This will make sure your code is robust and trustworthy!
The Vue.js team has done an incredible job performance-wise. We'll see how that works under the hood, what can we do to go further and produce blazingly fast apps.
All the chapters you'll get to read in our ebook.
If you want to see the whole changelog, you can read it here.
v-bind
v-on
v-if
v-show
v-once
v-for
v-html
v-pre
ref
reactive
ref
or reactive
computed
watchEffect
and watch
props
to components
emit
v-bind
en CSS
v-deep
, v-global
et v-slotted
script setup
syntax
defineProps
defineEmits
defineOptions
defineExpose
@vue/test-utils
defineSlots
onErrorCaptured
onMounted
script setup
and await
v-model
directive
defineModel
macro
inject
useTemplateRef
v-for
v-memo
If you want to see the whole changelog, you can read it here.
Our ebook lets you learn all the features of the framework. But for Vue.js, we decided to go further to share our expertise, by selling a Pro Pack. The Pro Pack makes you create an application skeleton, craft your first components, routes and forms. And above all it teaches you how to write tests, how to handle secured HTTP calls when your user is authenticated, how to design a reactive application, how to integrate with CSS frameworks like Twitter Bootstrap, third party libraries like Moment.js, already available components, and how to design your own (like a chart for example). If you want to completely master the framework, and be able to throw yourself with confidence in any projects, the Pro Pack is for you.
The Pro Pack contains a set of exercises, allowing you to build the PonyRacer app from scratch, confronting yourself to all these common problems in modern JavaScript applications. For each step, you receive a set of instructions corresponding to one of the ebook chapter, and a set of unit and end-to-end tests to validate your code. A NodeJS module we wrote is here to help you analyze your code and compute your score. Your turn to solve the challenge with the help of our tips! When you're done, or if you're stuck, you can check the solution we made. Our platform allows you to follow your progress, and inform you when we update the exercises. You can then switch to this new version (for free), and start again where you stopped. It's a great way to see how the best practices evolve!
Here are all the lessons you can follow with the Pro Pack.
onMounted
hook.
script setup
syntax is great, let's use it!
v-model
.
Pages A4
Paying readers
Pro Packs users
€ Given to sponsor the framework
If you don't trust our style, or our capacity to provide a genuine DRM-free ebook in all major formats, have a look at these free extracts.
You can also try the first 6 exercises of the Pro Pack for free.
English | Free EPUB | Free PDF | Free HTML |
---|---|---|---|
French | Free EPUB | Free PDF | Free HTML |
Test the whole experience of the Pro Pack on the first 6 exercises, for free.
Setup, code, build, verify. Check your scope and progression, then jump to the next step!
Simply register on the the Pro Pack platform for a free test.
For this ebook, we needed a demo app. We could have built another TO DO list, or chat app, or Reddit clone, like there are already hundreds of. But we chose ponies. Because everybody loves a pony (a real-life unicorn). You'll learn to build an application to bet on ponies races, but above all, you'll learn about all the use-cases you may need in a real Vue.js application.
You'll learn to build components, the use the new composition API, forms, to send data to a server, to manage authentication, to build routes, to react to events, and a lot more! Give a try to our amazing PonyRacer demo application. All the code samples of this ebook are based on this app. That's also the same app that you'll learn to code step by step, exercise after exercise, with our Pro Pack.
This book comes in two versions: one in English (for the world of developers to enjoy), one in French (for our fellow country-wo-men).
The Pro Pack (our online platform full of exercises) can be bought for a team of any size, with an appropriate discount.
Vue.js is free, but independant developers write and maintain it!
Ninja Squad chose to help sponsoring the framework development team. When buying our ebook, not only will you decide how much you want to pay, but also how much you want to give to sponsor the framework, if you want to. Our company is committed to make regular donations matching your choice.
Because you always have exotic questions in your mind: we're here to bring you peace with nice answers.
3.5.13
.