Is there a way to integrate the Bulma-extension page-loader
element as a Vue component in my project?
I attempted to import page-loader.min.js
and use it, but unfortunately, it didn't work as expected.
<template>
<div class="steps">
<div class="step-marker">
...
</div>
</div>
</template>
<script>
import { bulmaSteps } from 'bulma-extensions/dist/js/bulma-extensions.min';
export default {
name: "TestingStep",
mounted: function() {
this.steps = bulmaSteps.attach();
},
data() {
return {
steps: [],
}
},
}
</script>