Comments (3)
I was able to deploy to Cloudflare Pages, just choose AstroJS in the framework preset and add the build command:
npm run build
. I'm using Bun, so that's why I havebun run build
in the framework preset.Also make sure to update AstroJS to the latest version.
![]()
thank you
from astrowind.
Hello @abcpeak
This theme generates a static build, not server or serverless. That's why it doesn't work for you.
In case you need to adjust the theme to server or serverless you would have to make several changes on your own.
Thanks
from astrowind.
I was able to deploy to Cloudflare Pages, just choose AstroJS in the framework preset and add the build command: npm run build
. I'm using Bun, so that's why I have bun run build
in the framework preset.
Also make sure to update AstroJS to the latest version.
![Screenshot 2024-01-23 at 11 29 54 AM](https://private-user-images.githubusercontent.com/1319443/299022768-f6cc0cd6-4fa6-4d0e-98c9-bdfd4d614c05.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4NzQ2MjYsIm5iZiI6MTcxOTg3NDMyNiwicGF0aCI6Ii8xMzE5NDQzLzI5OTAyMjc2OC1mNmNjMGNkNi00ZmE2LTRkMGUtOThjOS1iZGZkNGQ2MTRjMDUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDFUMjI1MjA2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGZkZmZlZDQ1MmI0NDQ4NmI0ZjcyNDUzNjFjMjg0NTlhYWNhZGQ3NTJmM2I4ODEzYzhjNWQ0Nzk5NWM1NTNiNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.yeOZ8mJt6lfkmtIw35NfAJDOug3wct23NYso9BIzC4M)
from astrowind.
Related Issues (20)
- 1px gap above navbar on large screens HOT 4
- The main navigation is not centred on md: HOT 2
- Astro embed not working HOT 1
- del HOT 1
- Not Highlighting the selected header menu item HOT 2
- eslint errors HOT 1
- Prettier inconsistencies HOT 2
- I want to use multiple sentences on call to action HOT 3
- @astrolib/seo -- HTML5 Validation Errors HOT 2
- Issues with peer dependencies found: Compress HOT 2
- Safari only: Related Posts multi-line header links behave unhandy HOT 1
- inline code in 1 backtick was not converted correctly in markdown HOT 1
- Hero2 widget id
- Do I need to change hasExternalScripts to true for Analytics to work?
- red warning text on build HOT 1
- Building the site works though deployed site has CORS errors HOT 1
- Issues with Squoosh Image Optimization
- Navigation bar is getting transparent in iPad and iPhone HOT 1
- Astrowind optimizes images in /public HOT 3
- Safari prices ribbon Title show bug HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astrowind.