Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
bowen 5e0540077a
chore: perfect type definition (#940)
il y a 2 ans
..
.husky feat: add code style (#242) il y a 2 ans
.vscode Chore/ignore vscode setting (#293) il y a 2 ans
app chore: perfect type definition (#940) il y a 2 ans
assets feat: support app rename and make app card ui better (#766) il y a 2 ans
bin Feat/embedding (#553) il y a 2 ans
config fix: free quota tip (#831) il y a 2 ans
context fix: frontend permission check (#784) il y a 2 ans
dictionaries Initial commit il y a 2 ans
docker fix entrypoint script line endings (#900) il y a 2 ans
hooks fix: text copy issue (#723) il y a 2 ans
i18n Feature/mutil embedding model (#908) il y a 2 ans
models Feat/token support (#909) il y a 2 ans
public fix: chatbot not show all in small screen (#765) il y a 2 ans
service Feature/mutil embedding model (#908) il y a 2 ans
test Initial commit il y a 2 ans
types feat: frontend multi models support (#804) il y a 2 ans
utils feat: support app rename and make app card ui better (#766) il y a 2 ans
.dockerignore build: fix .dockerignore file (#800) il y a 2 ans
.editorconfig Initial commit il y a 2 ans
.env.example feat: use react sentry to support pass config via runtime (#350) il y a 2 ans
.eslintignore feat: add code style (#242) il y a 2 ans
.eslintrc.json feat: add code style (#242) il y a 2 ans
.gitignore build: improve dockerfile (#851) il y a 2 ans
Dockerfile fix entrypoint script line endings (#900) il y a 2 ans
README.md Chore/ignore vscode setting (#293) il y a 2 ans
global.d.ts Feat/segment add tag (#907) il y a 2 ans
middleware.ts fix: config file lint error (#250) il y a 2 ans
next.config.js build: improve dockerfile (#851) il y a 2 ans
package.json Feat/segment add tag (#907) il y a 2 ans
postcss.config.js Initial commit il y a 2 ans
tailwind.config.js feat: frontend multi models support (#804) il y a 2 ans
tsconfig.json Initial commit il y a 2 ans
typography.js Initial commit il y a 2 ans
yarn.lock build: improve dockerfile (#851) il y a 2 ans

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.