2.0.12 • Published 4 years ago

magno v2.0.12

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

magno-cli

About

前提: 需要本地安装nodejs, yarn以及python2。具体安装及环境变量配置请参考相应官网。

本地安装:yarn run bootstrap 安装magno命令之后,便可在命令行中执行magno ui打开高级页面或标准页面资产开发的工程。

Commands

ui options
start and open the magno-cli ui
create
create a new project powered by magno_assets_starter
add
create a new package in the packages directory
storybook
preview the components using storybook
build
build all the packages
download
download a widget from gallery
publish
publish a widget to gallery
theme options
preview or build the theme library, execute the command in the theme-chalk package
widget options
preview or build the widget, execute the command in the widget package
vue-widget options
preview or build the widget(Single File Component), execute the command in the widget(Single File Component) package
component options
preview or build the component, execute the command in the component package