Skip to content

Static Assets

Next.js 允许你在 public 目录下提供静态文件,比如图片。你可以在这里了解它的工作原理。

来源:app/building-your-application/optimizing/static-assets

{/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the <PagesOnly>Content</PagesOnly> component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}