Autoform slingshot the directive does not seem exists


#1

Hi,

I’m new to meteor and try to using timbrandin:autoform-slingshot… i follow the instruction but when i try to upload the file it got error on console log the directive does not seem exists

the structure file is like this

here is my code and i put it on Files.js
> pict : {

                type: String,
                optional:true,
                autoform: {
                    type: 'slingshotFileUpload',
                    afFieldInput:{
                        slingshotdirective: '~/img'
                    }
                }
            }

Cannot upload image using autoform