bregue dhue
bregue dhue
Explore posts from servers
PD🧩 Plasmo Developers
Created by bregue dhue on 6/10/2024 in #👟framework
"Uncaught ReferenceError: importScripts is not defined"
i get this when importing a component but works otherwise content script ui
3 replies
PD🧩 Plasmo Developers
Created by bregue dhue on 6/9/2024 in #👟framework
how to reuse components in from existing nextjs project
i created a plasmo project within an existing next js directory so that i could reuse some components from the src/app dir that next js uses but whenever i import i get "invalid hook" error something about react being called twice? but if i copy the component i want to reuse even though, it also imports from the src/app for child components it works fine.
2 replies
CDCloudflare Developers
Created by bregue dhue on 4/2/2024 in #pages-help
how to setup custom 404 on static site(vanilla, no framework)?
i want to deploy a static site using regular html, css and js, built with vite(so not totally vanilla) but its a multipage static app, that will clearly let the server know if an undefined pageroute is accessed. I want to use a custom 404 page for these cases, I couldn't find instructions to do this. I found this blog post https://www.mickaelvieira.com/blog/2020/01/27/custom-404-page-with-cloudflare-workers.html where he explains that you can kinda hack it with workers. but is this really my only option? Idk, i'm kinda hoping this can just be configured in the project's settings or something.
3 replies
CDCloudflare Developers
Created by bregue dhue on 3/9/2024 in #pages-help
how to delete pages
I used to just have a delete option from the settings. now i can see an option from the manage deployments drop-down but its greyed out saying
deployment cannot be deleted because it is currently your active Production deployment.
deployment cannot be deleted because it is currently your active Production deployment.
4 replies
CDCloudflare Developers
Created by bregue dhue on 8/26/2023 in #general-help
how to deploy just a basic html and css to cloudflare pages from a github repo
hello everyone 🙂 noob here, i thought just choosing none in the framework and naming my html index.html while leaving the build output directory blank would be enough, but it's not working the deployment completes sucessfully but going to the domain says the site can't be reached 😦
13 replies
CDCloudflare Developers
Created by bregue dhue on 7/27/2023 in #general-help
how come the cloudflare pages domain isn't working but the url from the build is?
13 replies
CDCloudflare Developers
Created by bregue dhue on 7/13/2023 in #pages-help
confused about the features and limits of cloudflare pages
helllo everyone 🙂 noob here, i'd like to get some insight as to should i be paying for cloudflare pages? it says i would only get 50 subrequests, what are those?
21 replies
CC#
Created by bregue dhue on 7/11/2023 in #help
❔ blazor wont build from solution template rider
hello everyone 🙂 noob here, i've been building blazor webassembly apps for a week it's been fine all of a sudden they just dont work anymore, i keep getting this error from Jetbrains Rider

_Imports.razor(10, 23): [CS0234] The type or namespace name 'Shared' does not exist in the namespace 'PickACardBlazor' (are you missing an assembly reference?)

_Imports.razor(10, 23): [CS0234] The type or namespace name 'Shared' does not exist in the namespace 'PickACardBlazor' (are you missing an assembly reference?)
and this is from a fresh solution template as creatd by Jetbrains Rider .net Core blazor web assembly app. the projects i have here that used to work all have the same error message. any insight would be much appreciated i'm on arch linux btw
3 replies
CC#
Created by bregue dhue on 7/3/2023 in #help
❔ developing wpf on linux using jetbrains rider
hello everyone 🙂 noob here trying to follow along with the examples in this book i'm reading(head first c#) it has steps on how to change the xaml for a windows desktop app using wpf option in vs code. but i'm on jetbrains rider on linux is this no possible? i tried doing settings -> file templates -> xaml -> resource dictionary using the instructions in this page: https://www.jetbrains.com/help/rider/Settings_Tools_XAML_Preview.html and then hitting on save but i don't know if it worked, coz when i do a 'new solution' it doesn't have the option for wpf forms. or is just a file it's creating? coz i also can't find it
43 replies