Skip to content
This repository has been archived by the owner on Mar 8, 2019. It is now read-only.

fix: props definition priority should be script > template #93

Merged
merged 1 commit into from
Feb 4, 2019

Conversation

elevatebart
Copy link
Member

@elevatebart elevatebart commented Jan 30, 2019

A component like this:

<template functional>
  <img :src="props.source" :width="props.width"/>
</template>
<script>
export default {
  props:{
    width: Number
  }
}
</script>

returns width as a string prop...

@elevatebart elevatebart self-assigned this Jan 30, 2019
@elevatebart elevatebart changed the title fix: props definition priority is script then template fix: props definition priority should be script > template Feb 1, 2019
@elevatebart elevatebart merged commit 9b918bf into master Feb 4, 2019
@elevatebart elevatebart deleted the fix-propsForFunctional branch February 4, 2019 14:35
@vue-styleguidist-bot
Copy link
Collaborator

🎉 This PR is included in version 3.3.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants