This is a Shuvi.js project bootstrapped with create-shuvi
.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying src/routes/page.tsx
. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api. This endpoint can be edited in src/routes/api/api.ts
.
The src/routes/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
To learn more about Shuvi.js, take a look at the following resources:
- Learn Shuvi.js - learn about Shuvi.js features and API.
You can check out the Shuvi.js GitHub repository - your feedback and contributions are welcome!