
ScratchX98
u/ScratchX98

So everything was going fine until I opened the game one day (caspian level) and I have 1-2fps instead of my usual 50-60fps, I have no idea as to why this could happen, my computer and other games in general are working fine, and I didn't install any updates or anything. I am running on linux though, but with the latest proprietary nvidia drivers.
So I have the latest version of i18n setup like this:
const t = new createI18n({
legacy: false,
locale: "it",
globalInjection: true,
messages,
});
...
app.use(t);
And when I try to use this: {{$t(content)}} inside components it works fine, however if I try to call {{$t.availableLocales}} it just returns empty, and if I try changing the locale like so nothing happens:
<button @click="$t.locale = 'en'">English</button>
I'm getting really confused here, I tried exporting t from main.js and changing t.locale in script setup but nothing happens.
SOLUTION
<button @click="$i18n.locale = 'en'">English</button>
So I have a ref set up like this:
const commentsRef = ref(null);
with this in template:
<Comments ref="commentsRef" class="comments" :comments="data.comments" :id="data.id"></Comments>
but if I try to call
commentsRef.scrollIntoView();
I get Uncaught TypeError: commentsRef.scrollIntoView is not a function
Same with:
commentsRef.value.scrollIntoView();
Uncaught TypeError: commentsRef.value.scrollIntoView is not a function
So I recently started using vue after a short course, and I'm not really able to grasp the ecosystem. Coming from flutter there is pub.dev, a neat site with all sorts of packages. With vue I cannot seem to find any sort of centralized system. There is NPM but it literally contains every single javascript package for every single framework, I just find myself finding so many components last updated 4-6 years ago that don't work anymore and have to add "vue" to every search query. Even if I sort through NPM with the "maintenance" sort I still find 5yo stuff. There are tons of these half-sketchy sites with random collections of components but none of them seem particularly qu
So I'm a high school student in Italy, this summer I got a paid internship at a medium-sized tech company (by local standards), mainly working on app development with flutter and PHP.
However, I would like to be able to continue somewhat working when school starts as well, however not being employed at a company but preferably doing freelance projects. I have tried many of those sites before: Fiverr, Design crowd, Freelancer, and never had any success. Will investing some money into these sites realistically change anything? (I have about 400 euros), is this a worthwhile investment? And will I have to keep dumping money into these to keep getting anything out?

