BinarCode / vue-form-wizard

Vue.js 2 wizard
https://binarcode.github.io/vue-form-wizard/#/
MIT License
1.11k stars 243 forks source link

npm wrong version #268

Open jcuribe opened 6 years ago

jcuribe commented 6 years ago

Very strange.. I have just installed via npm install vue-form-wizard.

Could not get the title of form no to show up, when I look at the nodes_module vue-form-wizard it looks as I have the lates version 0.8.4 version, but at least in the components\src\form-wizard-vue file the first couple of lines look different from what is in the github repository.

these are some of the differences I see: 1) :id="id ? id - is missing 2) v-if="$slots['title']" - is missing.

not sure what other differeces...

These are my lines <div class="vue-form-wizard" :class="[stepSize, {vertical: isVertical}]" @keyup.right="focusNextTab" @keyup.left="focusPrevTab">

{{title}}

{{subtitle}}

github <div :id="id ? id : ''" class="vue-form-wizard" :class="[stepSize, {vertical: isVertical}]" @keyup.right="focusNextTab" @keyup.left="focusPrevTab">

{{title}}

{{subtitle}}

ptdev commented 5 years ago

Same issue here, code at npm version doesn't match the github code. I was also trying to hide the title and header div but it appears as it's not possible with the current version that's published on npm.

knackjason commented 5 years ago

Any chance we can get the latest version pushed to npm? I just spent 30 mins trying to figure out why my wizard always had the title slot while the same code in the examples do not have it.

knackjason commented 5 years ago

BTW, @ptdev, you can hide the wizard header with some CSS, which is what I resorted to for the time being.

.wizard-header {
  display: none;
}