mirror of https://github.com/alibaba/ice.git
14 lines
254 B
TypeScript
14 lines
254 B
TypeScript
|
|
import { defineConfig } from '@ice/app';
|
||
|
|
import i18n from '@ice/plugin-i18n';
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
plugins: [
|
||
|
|
i18n({
|
||
|
|
locales: ['zh-CN', 'en-US'],
|
||
|
|
defaultLocale: 'zh-CN',
|
||
|
|
autoRedirect: true,
|
||
|
|
}),
|
||
|
|
],
|
||
|
|
ssr: true,
|
||
|
|
});
|