Admin Panel Customization
Customization options
access URL, host and port
修改網址如下
ex.
http://localhost:8888/dashboard
修改port
# ./config/server.ts
export default ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 8888),
});
修改URL
# ./config/admin.ts
export default ({ env }) => ({
url: '/dashboard',
})
Configuration options
Locales
後台管理的語言可以選擇(User Profile->Experience)
# ./src/admin/app.ts
export default {
config: {
locales: ['ru', 'zh']
},
bootstrap() {},
}
需使用yarn build
才會更新UI Panel