McKayB
Access CSS Variables?
I have a main.css file that defines a few colors under
:root
. In my <style scoped>
tags in components, these colors are not working, even though other parts of the main.css file are. (I've had it work in another project, and I can't figure out what I was doing differently there.)
Minimal repoduction: https://stackblitz.com/edit/github-ed9uy1jz?file=assets%2Fmain.css29 replies
Submit securely
OK, the tutorial I'm following at https://supabase.com/docs/guides/getting-started/tutorials/with-nuxt-3 says that I don't need to keep my db .env variables on the server, that putting them on the client is fine because of RLS. But I don't have enough confidence in my RLS skills to feel like that's a good idea. So I'm trying to adapt the tutorial to keep the logic server-side. That's necessary for proper form validation and stuff anyway, right?
But without adding a third-party module for Form Actions, does Nuxt need to call an API route to send form data to the server for processing? That seems very strange to me after working with NextJS and SvelteKit and Remix, where form actions are a basic part of the framework.
7 replies