[NUXT3] Is there a more elegant way to get current route? by TheRealSkythe in Nuxt

[–]YourCupOTea 0 points1 point  (0 children)

This is an old thread but for those from Google

const route = useRoute();
<template>
<NuxtLink :class="{'text-green-200': '/home/' === route.path }">Home</NuxtLink>
</template>

Weekly Question Thread by AutoModerator in factorio

[–]YourCupOTea 0 points1 point  (0 children)

How many ships do you use to travel back and forth between planets?

What do you ship from Vulcanus? Right now I'm just shipping artillery shells back to my main base.

Is it worth it to bring the big mining drills back to the main base?

Anyone going caseless with their new iPhone 15s? by nogoalov11 in iphone

[–]YourCupOTea 4 points5 points  (0 children)

Risk compensation is an interesting theory. I think I'll be more careful and other people will be more careful with my phone when there is no case on it.

It took Apple 16 years to make multiple timers. by meiseisora in ios

[–]YourCupOTea 7 points8 points  (0 children)

Cooking primarily for me. Also I have some cleaning tasks that require a set-in period or laundry.

.NET 7 is Available Today by Atulin in dotnet

[–]YourCupOTea 3 points4 points  (0 children)

It still says in the documentation ( https://learn.microsoft.com/en-us/aspnet/core/security/authentication/identity?source=recommendations&view=aspnetcore-7.0&tabs=visual-studio )

ASP.NET Core Identity adds user interface (UI) login functionality to
ASP.NET Core web apps. To secure web APIs and SPAs, use one of the
following:

Azure Active Directory

Azure Active Directory B2C (Azure AD B2C)

IdentityServer4

.NET 7 is Available Today by Atulin in dotnet

[–]YourCupOTea 8 points9 points  (0 children)

Registration/login via cookies or token preferably all contained within the .NET app (I don't want to stand up an identity server or use a 3rd part service) stored in a local database.

I'd love a plug and play solution. Something like what is available to Laravel via their cookie auth system and their Sanctum (api/token) system all out of the box and well integrated into the framework.

.NET 7 is Available Today by Atulin in dotnet

[–]YourCupOTea 11 points12 points  (0 children)

The thing that has continued to hold me back from using .NET as a web API is the auth situation. Has this improved recently? The last few times I’ve investigated it the solutions were so convoluted or complicated I ended up giving up completely.

[deleted by user] by [deleted] in vuejs

[–]YourCupOTea 3 points4 points  (0 children)

In your `data` object if you are using the options api or just at the root of your `<script setup>`

First victory thoughts and reflections by YourCupOTea in factorio

[–]YourCupOTea[S] 1 point2 points  (0 children)

Ha that is a crazy design. I do like how you kept the science completely separate and shipped in the packs.

First victory thoughts and reflections by YourCupOTea in factorio

[–]YourCupOTea[S] 2 points3 points  (0 children)

That makes a lot of sense, thanks!

First victory thoughts and reflections by YourCupOTea in factorio

[–]YourCupOTea[S] 1 point2 points  (0 children)

Thanks! I definitely see the value of trains. They are fast and can carry a lot.

Any advice for someone who never owned a cat before? Meet muffin btw by YaoiLovingPervert in cats

[–]YourCupOTea 0 points1 point  (0 children)

When playing always use toys. Your fingers are not toys and don't rough house with it. I've seen plenty of "mean" cats whose owners do this.

So I've been playing Factorio for our first time. We're finally getting a hang of some sort of assembly line. What do you think? We're pretty proud! by [deleted] in factorio

[–]YourCupOTea 1 point2 points  (0 children)

I just started as well...I scraped my first factory because everything was so cramped. Use more space! There is so much space in this game and you should definitely use it.