-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Status: ProposalRequest for commentsRequest for commentsType: FeatureIncludes new featuresIncludes new featureshelp wantedExtra attention is neededExtra attention is neededtodo
Description
API
type Option = {
format?: 'json' | 'yaml' | 'yml'
}
sqeeze (basePath: string, files: SFCFileInfo[], option = { format: 'json' }: : Option): LocaleMessages
infuse (basePath: string, sources: SFCFileInfo[], messages: LocaleMessages, option = { format: 'json' }: : Option): SFCFileInfo[]
CLI
vue-i18n-locale-message squeeze --target=./src --format='yaml'
vue-i18n-locale-message infuse --target=./src --message=./message.yaml
--format
is able to ommit, default is 'json'.
in about infuse
command, format option can be decide from the file extension
allanlewis and stephenhebertallanlewis
Metadata
Metadata
Assignees
Labels
Status: ProposalRequest for commentsRequest for commentsType: FeatureIncludes new featuresIncludes new featureshelp wantedExtra attention is neededExtra attention is neededtodo