0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Nuxt.jsにBulma extensionsを適用する

Posted at

Steps componentを適用させたかった
記事が出てこなかったので

スクリーンショット 2022-04-01 21.26.01.png
https://octoshrimpy.github.io/bulma-o-steps/

yarn add bulma-o-steps
nuxt.config.js

  css: [
        './node_modules/bulma-o-steps/bulma-steps.min.css',
        ],
Steps.vue
<template>
  <ul class="steps has-gaps is-horizontal">
    <li class="steps-segment" :class="{'is-active':stepNumber === 1}">
      <span class="steps-marker">1</span>
    </li>
    <li class="steps-segment" :class="{'is-active':stepNumber === 2}">
      <span class="steps-marker">2</span>
    </li>
    <li class="steps-segment" :class="{'is-active':stepNumber === 3}">
      <span class="steps-marker">3</span>
    </li>
    <li class="steps-segment" :class="{'is-active':stepNumber === 4}">
      <span class="steps-marker">4</span>
    </li>
  </ul>
</template>
<script>
export default {
  name: "steps",
  props: {
    stepNumber: Number
  }
}
</script>


以上

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?