您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
bowen 5e0540077a
chore: perfect type definition (#940)
2 年前
..
.husky feat: add code style (#242) 2 年前
.vscode Chore/ignore vscode setting (#293) 2 年前
app chore: perfect type definition (#940) 2 年前
assets feat: support app rename and make app card ui better (#766) 2 年前
bin Feat/embedding (#553) 2 年前
config fix: free quota tip (#831) 2 年前
context fix: frontend permission check (#784) 2 年前
dictionaries Initial commit 2 年前
docker fix entrypoint script line endings (#900) 2 年前
hooks fix: text copy issue (#723) 2 年前
i18n Feature/mutil embedding model (#908) 2 年前
models Feat/token support (#909) 2 年前
public fix: chatbot not show all in small screen (#765) 2 年前
service Feature/mutil embedding model (#908) 2 年前
test Initial commit 2 年前
types feat: frontend multi models support (#804) 2 年前
utils feat: support app rename and make app card ui better (#766) 2 年前
.dockerignore build: fix .dockerignore file (#800) 2 年前
.editorconfig Initial commit 2 年前
.env.example feat: use react sentry to support pass config via runtime (#350) 2 年前
.eslintignore feat: add code style (#242) 2 年前
.eslintrc.json feat: add code style (#242) 2 年前
.gitignore build: improve dockerfile (#851) 2 年前
Dockerfile fix entrypoint script line endings (#900) 2 年前
README.md Chore/ignore vscode setting (#293) 2 年前
global.d.ts Feat/segment add tag (#907) 2 年前
middleware.ts fix: config file lint error (#250) 2 年前
next.config.js build: improve dockerfile (#851) 2 年前
package.json Feat/segment add tag (#907) 2 年前
postcss.config.js Initial commit 2 年前
tailwind.config.js feat: frontend multi models support (#804) 2 年前
tsconfig.json Initial commit 2 年前
typography.js Initial commit 2 年前
yarn.lock build: improve dockerfile (#851) 2 年前

README.md

Dify Frontend

This is a Next.js project bootstrapped with create-next-app.

Getting Started

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 app/page.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Lint Code

If your ide is VSCode, rename web/.vscode/settings.example.json to web/.vscode/settings.json for lint code setting.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.