Book Image

Vue.js: Understanding its Tools and Ecosystem

By : Dave Berning
Book Image

Vue.js: Understanding its Tools and Ecosystem

By: Dave Berning

Overview of this book

Vue.js is one of the top three “go-to” JavaScript frameworks and is used by organizations such as Nintendo, NASA, and Expedia. This book is primarily focused on the ecosystem of Vue.js and its development tools. Understanding the basics of the technology behind the Vue.js ecosystem will improve your skills and make you a better problem solver. The book begins with a brief overview of Vue.js. You’ll learn to work your way through the Vue command line interface CLI 3, and use the Vue Router library to navigate between the different views of your application. As you advance through the topics, you’ll explore the use of DevTools to improve the quality of your applications and how to implement server-side rendering in your application through the Nuxt.js framework. Toward the end of the book, you’ll read about the future of Vue.js and its growing popularity. After reading this book, you’ll be able to create industry-grade applications using Vue.js and its tools.
Table of Contents (11 chapters)

Using Vue Components in Markdown Files

Even though VuePress is primarily built for documentation (at the moment), you can still create static generated websites and use single file components in your markdown files! Let’s get started by creating another project directory inside of your working directory. You are going to create a very simple website with a home page and an internal page. With this project, you will learn how to use single file Vue Components in markdown files, asset handling, routing and more.

mkdir vuepress-site
cd vuepress-site

# Open in VS Code
code .

# Or Open in Atom
atom .

Let’s create a README.md file inside of the root directory. Remember, all README.md files will be converted into index.html pages so this README.md file will be your homepage. When created, open it up add some content. For now, just add the text # Homepage so we can see some content. After VuePress builds the project, you should see a page with the text “Homepage”...