Book Image

Creating Interfaces with Bulma

By : Jeremy Thomas, Oleksii Potiekhin, Mikko Lauhakari, Aslam Shah, Dave Berning
Book Image

Creating Interfaces with Bulma

By: Jeremy Thomas, Oleksii Potiekhin, Mikko Lauhakari, Aslam Shah, Dave Berning

Overview of this book

Bulma is a lightweight configurable CSS framework that handles all the hard work of Flexbox for you. Bulma makes creating web interfaces an easy and interesting job. This book begins with an overview of the basics of Bulma ? its terms and its concepts. Then, while designing a login page for your application, you’ll learn how to use the various tools provided by Bulma to create HTML forms and control their layout and flow. In the later chapters, you’ll design an admin area for your application, thus learning to use Bulma’s navigation and menu components. You will also add the components to your user interface for common things such as boxes, lists, and media groups, and then create pagination. As you progress through the book, you’ll create and layout some other components for your interface, including tables, design dropdown lists, and finally to integrate your web application with JavaScript. By the end of this book, you’ll be able to use the features of Bulma to your advantage and build web interfaces quickly and easily.
Table of Contents (15 chapters)
8
8. Creating more tables and selecting dropdowns

Installing Vue-CLI

In this chapter, you will be using Vue’s command line tool, vue-cli. To get started with vue-cli, run the following commands:

npm install -g vue-cli
vue init <template> <project-name>
cd <project-name>
npm install
npm run dev

This chapter will be using the webpack-simple template. This is one of many templates that you can choose to download when creating your Vue application with vue-cli. Make sure you replace <template> with webpack-single during the vue-cli setup. This chapter is also going to make use of Vue-Router to easily handle navigating between “pages” on the dashboard. Routing is essential for every single page application. With it, you can mount a single parent component with its child components based on a URL.

Note: There are a total of six different templates to choose from with the CLI. To find out what they include check out the Vue CLI github repo.

Before you jump into setting everything up, there are...