So I'm new to typescript, Ionic 6 and Vue Js.
I've created a multiapp project with Ionic 6/VueJs 3.
Here is the structure:
{
"defaultProject": "app1",
"projects": {
"app1": {
"name": "app1",
"integrations": {
"capacitor": {}
},
"type": "vue",
"root": "apps\\app1"
},
"app2": {
"name": "app2",
"integrations": {
"capacitor": {}
},
"type": "vue",
"root": "apps\\app2"
},
"common": {
"name": "common",
"integrations": {
"capacitor": {}
},
"type": "vue",
"root": "library\\common"
}
}
}
I've managed to export the library with rollup -c
Now I'm wondering how to use it.
I've tried using npm link and importing it with...
However I'm getting compilation errors, when I try to use it as the compiled module does not include the types...
I'm getting TS7006: Parameter 'app' implicitly has an 'any' type.
I know that if I disable the strict mode, I can make it work, but that it is not a solution.
I can provide more info if required.