-
-
Notifications
You must be signed in to change notification settings - Fork 3
Helper functions in TypeScript #39
Comments
so I'm trying to write all my helper files as .ts files in the quasar UI starter kit right, I was able to set up Rollup to make sure it can build properly, and it works! 🎉 however, I cannot launch the dev server any more, because I get this error:
I followed this Quasar guide here, for the dev folder in the UI starter kit: https://quasar.dev/quasar-cli/cli-documentation/supporting-ts |
@IlCallo do you have any bandwidth to help me? 😇 |
changed the but then I have this error:
{
"extends": "node_modules/@quasar/app/tsconfig-preset.json",
"compilerOptions": {
"baseUrl": "."
}
} |
I fixed the other issues by tweaking the But am still stuck here: This is the repo (
https://github.com/mesqueeb/quasar-ui-easy-forms/tree/vue+typescript-helpers |
Hey there, really strange it doesn't pick up the preset automatically from Quasar app dependency. Check there isn't some kind of dependency conflict. |
I'm currently writing a bunch of Quasar UI components via regular Vue files.
I use functions from a separate
helpers
folder, which importing into my Vue components.The helper files are all plain JavaScript files.
I would like to write these helper files in TypeScript. Is this possible?
The text was updated successfully, but these errors were encountered: