mirror of https://github.com/alibaba/ice.git
|
||
---|---|---|
.. | ||
src | ||
CHANGELOG.md | ||
README.md | ||
package.json | ||
tsconfig.json |
README.md
@ice/plugin-moment-locales
ice.js Plugin for load moment locales and reduce size of moment.
Usage
import { defineConfig } from '@ice/app';
import moment from '@ice/plugin-moment-locales';
export default defineConfig(() => ({
plugins: [
moment({
locales: ['zh-CN'],
}),
],
}));