2.0.12 • Published 6 years ago
magno v2.0.12
magno-cli
About
前提: 需要本地安装nodejs, yarn以及python2。具体安装及环境变量配置请参考相应官网。
本地安装:
yarn run bootstrap安装magno命令之后,便可在命令行中执行magno ui打开高级页面或标准页面资产开发的工程。
Commands
ui options
start and open the magno-cli uicreate
create a new project powered by magno_assets_starteradd
create a new package in the packages directorystorybook
preview the components using storybookbuild
build all the packagesdownload
download a widget from gallerypublish
publish a widget to gallerytheme options
preview or build the theme library, execute the command in the theme-chalk packagewidget options
preview or build the widget, execute the command in the widget packagevue-widget options
preview or build the widget(Single File Component), execute the command in the widget(Single File Component) packagecomponent options
preview or build the component, execute the command in the component package