Wikiki / bulma-steps

Bulma's extension to manage steps
MIT License
96 stars 44 forks source link

Question about bulma-steps.js #16

Closed turtle-writer closed 6 years ago

turtle-writer commented 6 years ago

Hi, i don't know how to integrate bulma-steps.js into my project. When i import it to main.js. I could not use next button unless refresh the page.(My technology stack is vue+bulma+electron).

Wikiki commented 6 years ago

please try last release and don't forget to call bulmaSteps.attach(selector, options); to instantiate the extension.

tqiqbal commented 6 years ago

Hi, I am getting error while invoking function bulmaSteps.attach(selector, options). I am using VueJs+webpack . I have done these steps.

  1. Imported bulma.css
  2. imported bulma-steps.min.css
  3. imported bulms-steps.min.js
  4. called bulmaSteps.attach(selector, options)

In Chrome console I can see this error.

"Task.vue?8a51:152 Uncaught TypeError: WEBPACK_IMPORTED_MODULE_0_bulma_extensions_bulma_steps_dist_bulma_steps_min_js_default.a.attach is not a function at eval (Task.vue?8a51:152) at Object../node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/pages/Task.vue (app.js:790) at webpack_require (app.js:679) at fn (app.js:89) at eval (Task.vue?bf53:1) at Object../src/components/pages/Task.vue (app.js:1422) at __webpack_require__ (app.js:679) at fn (app.js:89) at eval (index.js?3672:1) at Object../src/router/index.js (app.js:1518)"