Thimo_o
Explore posts from serversdynamic CSS not working in Nuxt
Things I have tried:
https://github.com/ThimoDEV/nuxt-codemirror
- ssr: false in playground
- <ClientOnly>
- In latest push in my module I did everything manually in getDefaultExtensions
- adapted styles of the codemirror instance
- settimeout in onmounted of 1 sec to delay init to see if that works
- I placed the import minimalSetup in my composable and in the playground, both places it instantly worked
none did work so far
What was weird was that at some point it seemed to work but then it was some caching or sao that kept it working, not the code itself
6 replies
DTDrizzle Team
•Created by Louistiti on 7/18/2023 in #help
Clear the whole database?
This is what made the planetscale version work for me, I had to add the schema in my drizzle function and use truncate table
59 replies
DTDrizzle Team
•Created by Louistiti on 7/18/2023 in #help
Clear the whole database?
@louistiti_ As far as I know I do the same
59 replies
DTDrizzle Team
•Created by Louistiti on 7/18/2023 in #help
Clear the whole database?
@louistiti_ I do get Property 'forEach' does not exist on type 'ExecutedQuery'.. Does your tables variable have another type?
59 replies
DTDrizzle Team
•Created by Louistiti on 7/18/2023 in #help
Clear the whole database?
@mendy.l @louistiti I tried the raw example, but I'm doing/forgetting something I think
In the for loop of the raw example I get tables: ExecutedQuery, which I can not iterate over. Do I have to change something here so the typing is correct?
Mendy, I had db..schema undefined but I still don't know why. Do you know why that might happen?
For my db variable I have this:
That should be correct right?
59 replies
DTDrizzle Team
•Created by Louistiti on 7/18/2023 in #help
Clear the whole database?
I now have a separate account just for testing, so that works quite good
59 replies
DTDrizzle Team
•Created by Louistiti on 7/18/2023 in #help
Clear the whole database?
yeah, thats also true, I hope I can get my clear script working then
59 replies
DTDrizzle Team
•Created by Louistiti on 7/18/2023 in #help
Clear the whole database?
I think I saw a tweet from drizzle before, where they said it was quite easy to use multiple providers at once, like an sqlite and a planetscale one, that might be a sweet spot. Do you know how that might be done perhaps?
59 replies
DTDrizzle Team
•Created by Louistiti on 7/18/2023 in #help
Clear the whole database?
Opening a new branch would be quite overkill I think, since I then need to also push the schema again and wait for planetscale to configure it. I wonder how Prisma does it (although this was mostly for a local sqlite thing too ) https://github.com/prisma/prisma/issues/11261
59 replies