Closed murilolivorato closed 7 years ago
Yeah, you have to import it, like the README says:
<script>
import Component from './components/Component'
import AwesomeMask from 'awesome-mask'
export default {
name: 'app',
components: {
Component
},
directives: {
'mask': AwesomeMask
}
}
</script>
Gives me the same error even after doing the above. How is the import component related?
Can you post your code? @hkhandare
This is not a component @hkhandare , it is a directive
Hi, it's working. Thanks.
it shoed this errror -
I instaled with npm , do I have to import ?