Search
Setup for Free
CD
Cloudflare Developers
Static pages
Original message was deleted
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
83,420
Members
View on Discord
Similar Threads
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
T
texan
•
2/27/25, 8:38 PM
Do you have a wrangler
.toml
? Where is your build output
?
T
texan
Do you have a wrangler.toml? Where is your build output?
S
soos
•
2/27/25, 8:39 PM
I do not have a wrangler
.toml
S
soos
•
2/27/25, 8:39 PM
it is just a vite project with the output at
/dist with my command npm run build
S
soos
•
2/27/25, 8:40 PM
are there docs for this
T
texan
•
2/27/25, 8:43 PM
wrangler pages deploy dist
-
-project
-name
=my
-app
S
soos
•
2/27/25, 8:44 PM
will this make it a single page application so that the 404 goes to
/ still
S
soos
•
2/27/25, 8:44 PM
[assets
]
directory
=
"
.
/dist
"
not
_found
_handling
=
"single
-page
-application
"
S
soos
•
2/27/25, 8:44 PM
this is what I was going to use
T
texan
•
2/27/25, 8:45 PM
https://developers.cloudflare.com/pages/get-started/c3/#deploy
T
texan
•
2/27/25, 8:45 PM
Ah you
're using Workers Assets
, not pages
S
soos
•
2/27/25, 8:45 PM
No I am using pages
S
soos
[assets] directory = "./dist" not_found_handling = "single-page-application"
T
texan
•
2/27/25, 8:45 PM
This is a Workers Assets configuration
S
soos
•
2/27/25, 8:45 PM
how do I use pages
?
S
soos
•
2/27/25, 8:46 PM
S
soos
•
2/27/25, 8:46 PM
the bottom one was one I made a while ago
T
texan
•
2/27/25, 8:46 PM
https://developers.cloudflare.com/pages/get-started/
T
texan
•
2/27/25, 8:46 PM
There
's helpful snippets on how to use the cli
, including which options you can provide in your wrangler
.toml
S
soos
•
2/27/25, 8:47 PM
can I do it with git intergration
S
soos
•
2/27/25, 8:47 PM
S
soos
•
2/27/25, 8:47 PM
@texan
S
soos
•
2/27/25, 8:48 PM
https://developers.cloudflare.com/pages/get-started/git-integration/
is this outdated
Cloudflare Docs
Git integration guide · Cloudflare Pages docs
Connect your Git provider to Pages
.
S
soos
•
2/27/25, 8:50 PM
bro how can I go to the old system
S
soos
•
2/27/25, 8:54 PM
nvm im dumb
Similar Threads
Dynamic routes with static pages
CD
Cloudflare Developers / pages-help
3y ago
Workers Static Pages - Dashboard or Wrangler
CD
Cloudflare Developers / workers-and-pages-help
6mo ago
Difference between Static Assets and Pages?
CD
Cloudflare Developers / workers-and-pages-help
16mo ago
Pages pricing for static React website
CD
Cloudflare Developers / pages-help
2y ago