Exposing configuration to the server / client side (minor) (#3882)
* Add next/config * Set config on server start / client render * Add documentation for next/config * Add next/config support for next export * Fix test * Use the correct name * Set default to empty object on the client side * Add config tests * Rename config to runtimeConfig
Showing
config.js
0 → 100644
lib/runtime-config.js
0 → 100644
文件已移动
文件已移动
文件已移动
文件已移动
想要评论请 注册 或 登录