Skip to Main Content
Hands-on Nuxt.js Web Development
book

Hands-on Nuxt.js Web Development

by Lau Tiam Kok Kok Lau
August 2020
Beginner to intermediate content levelBeginner to intermediate
698 pages
12h 2m
English
Packt Publishing
Content preview from Hands-on Nuxt.js Web Development
Writing Plugins and Modules

Remember how you have been writing some simple plugins in the Nuxt apps since Chapter 3, Adding UI Frameworks? As we mentioned before, plugins are JavaScript functions by nature. You will always need to write custom functions to suit your situations in web development and we will create quite a few functions throughout this book. In this chapter, we will look into creating custom plugins in more detail for your Nuxt app, as well as custom modules. You will learn to create custom plugins in a Vue app and implement them in the Nuxt app. Then you will learn how to create custom Nuxt modules on top of plugins. You will also learn to import and install the existing Vue plugins and Nuxt modules, which are provided as ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Test-Driven JavaScript Development

Test-Driven JavaScript Development

Ravi Kumar Gupta
Front-End Development Projects with Vue.js

Front-End Development Projects with Vue.js

Raymond Camden, Hugo Di Francesco, Clifford Gurney, Philip Kirkbride, Maya Shavin

Publisher Resources

ISBN: 9781789952698Supplemental Content