Leveraging mdbvue within the SAFE Network, style elements are noticeable by their absence

I checked out this handy tutorial

But what really caught my attention was this tutorial:

After following along, I ended up with the result below:

https://i.sstatic.net/asgZs.png

It's clear that something is missing in terms of style. As a novice in Vue and still getting familiar with nodejs, I'm struggling to figure out how and where the styling should come into play.

Take a look at my code snippets:

App.vue

<template>
  <div :class="$style.App">

    <ButtonPage />

  </div>
</template>

<script>
import ButtonPage from './components/ButtonPage.vue'
const safenetwork = require('./safenetwork.js');

export default {
  name: 'App',
  components: {
    ButtonPage
  },
  async created() {
    await safenetwork.authoriseAndConnect();
  }
}
</script>

ButtonPage.vue

<template>
  <btn outline="primary" size="lg">Button</btn>
</template>

<script>
import { Btn } from 'mdbvue';

export default {
  name: 'ButtonPage',
  components: {
    Btn
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>

package.json

{
  "name": "Site-Yropeen",
  "version": "1.0.0",
  "description": "Yropeên",
  "homepage": "https://gitlab.com/UniversalBasics/Yropeen/Site-Yropeen",
  "keywords": [
    "conlang",
    "European"
  ],
  "author": "Folât Sômêjpjêr <<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="4721282b2633330720322e2b2322356a3322343369223269283520">[email protected]</a>>",
  "contributors": [],
  "license": "GPL-3.0+",
  "main": "index.js",
  "scripts": {
    "build": "neutrino build",
    "start": "neutrino start"
  },
  "repository": {
    "type": "git",
    "url": "git://gitlab.com/UniversalBasics/Yropeen/Site-Yropeen/Site-Yropeen.git"
  },
  "dependencies": {
    "@babel/helper-module-imports": "v7.0.0-beta.51",
    "mdbvue": "4.*.*",
    "vue": "2.*.*",
    "vue-router": "3.*.*"
  },
  "devDependencies": {
    "@neutrinojs/vue": "8.*.*",
    "babel-plugin-transform-runtime": "6.*.*",
    "babel-preset-stage-2": "6.*.*",
    "jquery": "3.*.*",
    "neutrino": "8.*.*",
    "webpack": "3.*.*"
  }
}

Answer №1

package.json

...
"dependencies": {
    "mdbootstrap": "~4.5.0"
  },
...

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Problem with the overflow setting of a specific div

My website is currently hosted on a test server at medexcel.comeze.com. However, I am encountering an issue where the overflow of the top div is no longer hidden when I hover over a menu button in the top bar. This results in the bottom right corner of th ...

Displaying a Vue component inside a Laravel view for seamless integration

Exploring Vue and Laravel for the first time as part of my testing journey with these frameworks. I'm experimenting with loading a Vue Component using an array. I am considering passing the data to the Laravel view via props in the Vue Component, but ...

Adjust the color of the navbar only after a user scrolls, with a slight delay rather than

My code changes the navbar colors when I scroll (200ms). However, I would like the changes to occur when I am slightly above the next section, not immediately. In other words, what adjustments should I make to change the color in the next section and not ...

Creating a setup with Angular 2+ coupled with Webpack and a Nodejs

I have successfully configured Angular2+webpack along with NodeJs for the backend. Here is a basic setup overview: webpack.config.js: var webpack = require('webpack') var HtmlWebpackPlugin = require('html-webpack-plugin') var Extract ...

Use jQuery to permit only numeric characters and the symbol "-" to be entered into a textbox

I have been working on a JQuery script that only allows users to input numbers in a text field. However, I am now trying to modify the code to also allow users to enter "-" (hyphen), but so far it's not working as expected. If anyone can provide assis ...

Ziggy - Inertia js vue app will not be mounted at all when we import a route from 'ziggy' in app.js

Currently, I am working on a project that involves Laravel, Ziggy, Inertia, and Vue. Interestingly, I encountered an issue where I couldn't integrate Ziggy with Vue as recommended in their documentation. Below is my app.js file for reference. It' ...

Struggling to properly center the footer on my Django template

I'm currently facing an issue when attempting to align my footer in the center of my Django template. The specific class for the footer is Pagination. Base HTML: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict ...

Is it recommended to continue using vendor prefixes for border-radius property?

When coding, I currently utilize the following: -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; After running tests, it seems that there was no noticeable difference in modern browsers (Chrome 33+, Opera 25+, Safari 8+). Internet ...

Is there a way to quickly toggle between CSS properties in the Styles tab of Chrome Devtools/Inspector using a keyboard shortcut?

While I typically rely on Firefox and Firebug for CSS testing and tweaking, I am now trying to transition to Chrome. One issue that is really frustrating me is that in Chrome, changing a CSS property seems to require clicking on it, deleting the current va ...

Exploring the world of flexbox and experimenting with implementing flex-wrap at a specific breakpoint

I am working on a layout that includes a module containing various content. My goal is to have the progress bar, along with the labels "parts" and "projects," positioned underneath an image and expand to the full width of the module when the window size go ...

Drop-down menu for every individual cell within the tabular data

I'm working with a large HTML table that looks like this: <table> <tr> <td>value1</td> <td>value2</td> </tr> <tr> <td>value3</td> <td>value4 ...

Is it not possible to implement a "literal" component in SFC?

I'm attempting to create a straightforward "literal" component using MyComponent inside a single file component in Vue 3: <template> <MyComponent>aha</MyComponent> </template> <script> import { ref } from "vue"; const ...

Implement techniques on items within a v-for loop in Vue 3 JavaScript

I am struggling with a simple task in Vue 3 - accessing the values of an item in a v-for array. <template> <div> <table class="table-auto w-full max-w-screen mt-4"> <thead> <tr> <th&g ...

Using various span elements with distinct alignment within an h1 tag in Bootstrap 5

How can I nest three span tags inside an h1 tag, aligning them differently? The first on the left, the second in the center, and the third on the right. Can this be achieved using Bootstrap or does it require custom CSS? ...

Collaborative React front end elements are now housed in their own TypeScript project within Visual Studio 2017

In Visual Studio, our project structure includes the following: PublicClient, Admin, and SharedComponents. The SharedComponents project is essential because many components are shared between our client and admin interface. This structure is based on the f ...

What are some methods for applying border styles to the first and last row of a table using Material UI?

In my current project, I am utilizing the combination of Material UI and React Table. Recently, I was asked to implement an expandable row feature, which I successfully added. Once the user expands the row, we need to display additional table rows based on ...

Exploring methods to modify the style attribute of a div tag in .NET

Using .NET, we need to access the CSS style of a div and input certain values in the code behind on page load. Since the div is located on the master page and this is another separate page, we are unable to add RUNAT="SERVER" to the div. ...

Guide on adding CSS3 ribbons to elements on both sides

I recently came across a tutorial that teaches how to create a CSS ribbon. However, after following the tutorial, I found that the ribbon only appears on one side of the element. This has left me wondering if it's possible to have the ribbon display o ...

Error message: "WebStorm module missing, causing webpack error"

import CustomWidget from '@/components/widgets/CustomWidget'; After importing a Vue component, everything seems to be working fine. However, when I use @, it is unable to resolve the declaration and gives me an error message saying "cannot find ...

Is there a way to trigger a modal to open in VueJS with Bootstrap?

I have been attempting to trigger a modal in my Vue Template using bootstrap. However, I am encountering an issue where the modal does not appear when I use jQuery on it. Below is the code snippet: <template> <div id="app_religion"> ...