Closed sergeynilov closed 3 years ago
Try to register the component
<script>
// ...
import { Card, createToken } from 'vue-stripe-elements-plus'
// ...
export default {
data: function () {
return {
// ...
components: { Card }, // This will not work
// ...
}
},
// ...
components: {
card: Card
}
// ...
}
</script>
Hello,
I tried to install vue-stripe-elements into my Laravel 5.8 / vuejs 2.6 app, but got console error :
I follwed instruction and on my vue file, with non stripe elements cut:
I do not see why error, as I defined import and components for card as in sample.
Where is an error ?
Thanks!