vue-number-format
vue-number-format copied to clipboard
Typescript Support
The project is missing tsconfig.json
to generate declaration file for typescript support
@igortrinidad can you create comments in utils.js
to explain what are the actions / results do you expect for every function?
Hey bro, i'm updating the library to use Vite for the bundle but i'm still stuck on this error... If you want to check it out the the branch with the changes here it's https://github.com/igortrinidad/vue-number-format/tree/update-docs-vue-installation
even is WIP, split in several commits, a lot of diff make it difficult to help, and please just submit what is necessary, I think a example
folder is not necessary, or I was wrong?
The /example/vue-docs-project
is the the project that generates the docs / live demo / endpoint, so we need to add it somewhere within this repository... I agree that the src
folder isn't the right place... But it needs to be somewhere, so while i was moving the docs/example from src/docs
to /example/vue-docs-project
i updated the vue installation, that's why the big diff...
But man, the problem of the library it's how vite / rollup are bundling the package to serve it as a library, this isn't a application repository, it's need to serve as a library / package, compacted and bundled to be as light as possible... It's kind different from an application repository...
Did you already build some library/package using this envronment: Vue / Vite and knows how to proper setup the build configuration to avoid this ts error on vite build?