JustinNoel
JustinNoel
HHono
Created by chrisyalamov on 6/30/2024 in #help
JSX Element type
i know it's not the best solution, but I just just ended up typing like this: children?: unknown;
3 replies
CDCloudflare Developers
Created by JustinNoel on 6/7/2024 in #general-help
How to Create Tunnels for Different Accounts with `cloudflared`?
true
6 replies
CDCloudflare Developers
Created by JustinNoel on 6/7/2024 in #general-help
How to Create Tunnels for Different Accounts with `cloudflared`?
Thanks! The dx for this is not great. Not very well documented either.
6 replies
CDCloudflare Developers
Created by Miguel Cruz on 2/19/2024 in #general-help
Remix Cloudflare and tailwindcss
This is my very old hack to get Remix (1.2.3), CF, and tailwind working. I'm not sure if it's even relevant, but it might help: package.json:
{
"scripts": {
"build": "npm run build:css && cross-env NODE_ENV=production remix build",
"build:css": "tailwindcss -o ./app/tailwind.css",
"dev": "concurrently \"npm run dev:css\" \"cross-env NODE_ENV=development run-p dev:*\"",
"dev:css": "tailwindcss -o ./app/tailwind.css --watch",
"postinstall": "remix setup cloudflare-pages; patch-package;",
"dev:remix": "remix watch",
"dev:wrangler": "wrangler pages dev ./public --watch ./build --binding $(cat .env)",
"start": "npm run dev",
"format": "prettier --config .prettierrc --ignore-path .prettierignore '**/*.{json,js,jsx,ts,tsx,mjs,css,scss,md,yml}' --write",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --ignore-path .eslintignore . --max-warnings 0 --fix",
"prepare": "husky install"
}
}
{
"scripts": {
"build": "npm run build:css && cross-env NODE_ENV=production remix build",
"build:css": "tailwindcss -o ./app/tailwind.css",
"dev": "concurrently \"npm run dev:css\" \"cross-env NODE_ENV=development run-p dev:*\"",
"dev:css": "tailwindcss -o ./app/tailwind.css --watch",
"postinstall": "remix setup cloudflare-pages; patch-package;",
"dev:remix": "remix watch",
"dev:wrangler": "wrangler pages dev ./public --watch ./build --binding $(cat .env)",
"start": "npm run dev",
"format": "prettier --config .prettierrc --ignore-path .prettierignore '**/*.{json,js,jsx,ts,tsx,mjs,css,scss,md,yml}' --write",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --ignore-path .eslintignore . --max-warnings 0 --fix",
"prepare": "husky install"
}
}
2 replies
CDCloudflare Developers
Created by loogi on 2/12/2024 in #pages-help
Page blocked from indexing
I think abc.pages.dev is not indexed by default. However, when you add a custon domain, that header goes away.
6 replies
CDCloudflare Developers
Created by Doom Knight on 1/20/2024 in #pages-help
Need help with a mobile help
Egress is the bandwidth used to transmit the data out to the requester. S3 charges for eacH GB per month.
8 replies
CDCloudflare Developers
Created by Doom Knight on 1/20/2024 in #pages-help
Need help with a mobile help
Is the XML file the same for all users or specific to each user? I'd hope someone from CF might answer about the costs/eligibility of serving the XML file on pages. However, you might want to consider using R2 to host the XML file.
8 replies
CDCloudflare Developers
Created by Dom on 1/8/2024 in #general-help
Problem with Videos
Which Cloudflare service is "hosting" the videos? Stream or R2? For either, I'd ask in #stream or #r2 It'd be better to share more information too - like a link.
2 replies