File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,18 @@ export default {
1616};
1717```
1818
19+ ## View Static Assets
20+
21+ After starting the dev server, you can access ` /rsbuild-dev-server ` to view all static assets generated during this build.
22+
23+ For example, open ` http://localhost:3000/rsbuild-dev-server ` in the browser, you will see:
24+
25+ <img
26+ src = " https://assets.rspack.dev/rsbuild/assets/assets-report-page.png"
27+ alt = " rsbuild-dev-server"
28+ width = " 600"
29+ />
30+
1931## Page Routing
2032
2133Rsbuild Server offers a set of default routing convention, and allows users to customize it through configurations.
Original file line number Diff line number Diff line change @@ -16,6 +16,18 @@ export default {
1616};
1717```
1818
19+ ## 查看静态资源
20+
21+ 启动 dev server 后,你可以访问 ` /rsbuild-dev-server ` 查看 Rsbuild 在本次构建中生成的所有静态资源。
22+
23+ 例如,在浏览器中打开 ` http://localhost:3000/rsbuild-dev-server ` ,可以看到:
24+
25+ <img
26+ src = " https://assets.rspack.dev/rsbuild/assets/assets-report-page.png"
27+ alt = " rsbuild-dev-server"
28+ width = " 600"
29+ />
30+
1931## 页面路由
2032
2133Rsbuild 的 Server 提供一套默认的路由约定,并允许用户通过配置项定制。
You can’t perform that action at this time.
0 commit comments