Skip to content

Webflow-Examples/hello-world-astro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Astro + React + Webflow Cloud

Example Astro app with React islands and the Cloudflare adapter, set up for Webflow Cloud.

Deploy to Webflow

Project structure

.
β”œβ”€β”€ astro.config.mjs
β”œβ”€β”€ package.json
β”œβ”€β”€ package-lock.json
β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ .assetsignore
β”‚   β”œβ”€β”€ favicon.svg
β”‚   └── webflow.svg
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ env.d.ts
β”‚   β”œβ”€β”€ layouts/
β”‚   β”‚   └── Layout.astro
β”‚   β”œβ”€β”€ lib/
β”‚   β”‚   └── counter.ts
β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   β”œβ”€β”€ api/
β”‚   β”‚   β”‚   └── hello.ts
β”‚   β”‚   └── index.astro
β”‚   └── styles/
β”‚       └── global.css
β”œβ”€β”€ tsconfig.json
β”œβ”€β”€ webflow.json
β”œβ”€β”€ wrangler.json
└── worker-configuration.d.ts

Commands

Command Action
npm install Installs dependencies
npm run dev Starts the Astro dev server at http://localhost:4321
npm run build Builds the production site
npm run preview Runs astro build then wrangler dev for a local preview
npm run deploy Deploys with webflow cloud deploy
npm run astro Runs the Astro CLI (e.g. astro add, astro check)
npm run cf-typegen Generates Wrangler TypeScript types (wrangler types)

Learn more

About

This is template repo for CLI cloud init

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors