Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Creating Interfaces with Bulma

You're reading from   Creating Interfaces with Bulma Create impressive web interfaces with this open-source Flexbox-based CSS framework

Arrow left icon
Product type Paperback
Published in Nov 2019
Publisher
ISBN-13 9781800209374
Length 194 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Authors (5):
Arrow left icon
Jeremy Thomas Jeremy Thomas
Author Profile Icon Jeremy Thomas
Jeremy Thomas
Oleksii Potiekhin Oleksii Potiekhin
Author Profile Icon Oleksii Potiekhin
Oleksii Potiekhin
Mikko Lauhakari Mikko Lauhakari
Author Profile Icon Mikko Lauhakari
Mikko Lauhakari
Aslam Shah Aslam Shah
Author Profile Icon Aslam Shah
Aslam Shah
Dave Berning Dave Berning
Author Profile Icon Dave Berning
Dave Berning
+1 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface
1. Introduction FREE CHAPTER 2. Understanding Bulma, terminology, and concepts 3. Creating and controlling forms with Bulma 4. Creating navigations and vertical menus 5. Creating responsive grids with common components 6. Creating breadcrumbs and file upload fields 7. Creating tables and selecting dropdowns 8. Creating more tables and selecting dropdowns 9. Creating notifications and cards 10. Using Bulma with Vanilla JavaScript 11. Using Bulma with Angular 12. Using Bulma with VueJS 13. Using Bulma with React 14. Customizing Bulma

Creating the “Report a Bug” component

This chapter will recreate the functionality for the Report a Bug modal. You can access this modal from the user menu in the top-right corner of the topbar. The modal will contain a simple text input and will display a success notification if your imaginary request is successfully completed.

This is what you will be creating:

  • Create a BugReport component.
  • Import the component in the App.vue file.
  • Add the modal’s HTML.
  • Add Vue awesomeness.

Creating a component

Let’s get going with the first point and create the new component. In the components folder, create a BugReport.vue file and start with the following snippet:

<template>

</template>

<script>
  export default {
    name: "BugReport"
  }
</script>

<style>

</style>

You can go ahead and copy the code for the Modal card from the Bulma documentation and insert it between the <template></template> tags. Add...

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Creating Interfaces with Bulma
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime
Modal Close icon
Modal Close icon