Examples

Practical, copy-pasteable examples to get you started with arrow across different project types.

reacttypescripttailwind

React SPA with routing

A single-page React application with file-based routing and Tailwind CSS.

Scaffold the project

arrow init react-router-app --template react --ts

Start the dev server

cd react-router-app && arrow dev

Build for production

arrow build
vuetypescript

Vue 3 dashboard

A lightweight dashboard built with Vue 3 and the Composition API.

Scaffold the project

arrow init vue-dashboard --template vue --ts

Add a charting plugin

arrow add @arrow/plugin-charts

Start the dev server

cd vue-dashboard && arrow dev --open
sveltessrmarkdown

SvelteKit blog

A content-driven blog with server-side rendering and markdown support.

Scaffold the project

arrow init svelte-blog --template svelte

Create a new post

arrow generate post "hello-world"

Preview the site

arrow build && arrow preview
nodeapifastify

Node API server

A REST API built with Fastify and arrow dev tools.

Scaffold the project

arrow init node-api --template node

Start the server with watch

cd node-api && arrow dev

Run integration tests

arrow test