Create scaffold

Overview

ng add ng-alain
# If you want to create an English version, then:
ng add ng-alain --defaultLanguage=en

Options

NameDefaultDescription
--formtrueWhether include dynamic form
--mocktrueWhether include mock
--defaultLanguagezhDefault language, Supported language list
--codeStylefalseWhether include code style
--i18nfalseWhether include i18n
--npmfalseWhether include npm taobao mirror configuration file (Chinese users)
--yarnfalseWhether include yarn taobao mirror configuration file (Chinese users)

For example, generate a project with i18n:

ng add ng-alain --i18n --defaultLanguage=en

See more plugins