We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
it just doesn't want to work? actually there is an error TypeError: null is not an object (evaluating 'e3.element.parentNode.clientWidth')
-------------- <script setup> import { RouterLink, RouterView } from 'vue-router' import HelloWorld from './components/HelloWorld.vue' </script> <template> <header> <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" /> <div class="wrapper"> <HelloWorld msg="You did it!" /> <nav> <RouterLink to="/">Home</RouterLink> <RouterLink to="/about">About</RouterLink> </nav> </div> </header> <RouterView /> <div id="my-element" style="height: 100px;width: 400px">Hello World</div> </template> <script> import fitty from 'fitty' fitty('#my-element',{ minSize: 16, maxSize: 300, }); </script>
The text was updated successfully, but these errors were encountered:
did you find a solution ? @L-o-o-t
Sorry, something went wrong.
You have to put your fitty() into an onMounted / onUpdated hook
fitty()
No branches or pull requests
it just doesn't want to work?
actually there is an error
TypeError: null is not an object (evaluating 'e3.element.parentNode.clientWidth')
The text was updated successfully, but these errors were encountered: