@moonwalker/mrm-preset-react
Mrm preset for Moonwalkers
Last updated 2 years ago by vio .
MIT · Original npm · Tarball · package.json
$ cnpm install @moonwalker/mrm-preset-react 
SYNC missed versions from official npm registry.

Mrm preset for Moonwalkers

Install


npm i -g mrm
npm i -g @moonwalker/mrm-preset-react

Usage

mrm react-component --preset @moonwalker/mrm-preset-react --config:slug top-navigation --config:prefix components/signup

// Running react-component...
// Create src/components/signup/top-navigation/index.js
// Create src/components/signup/top-navigation/top-navigation.component.js
// Create src/components/signup/top-navigation/top-navigation.stories.js
// Create src/components/signup/top-navigation/top-navigation.styl

Run the generator in the current dirrectory:

cd src/components
mrm react-component --preset @moonwalker/mrm-preset-react --config:slug top-navigation --config:cwd . --config:prefix signup

// Running react-component...
// Create src/components/signup/top-navigation/index.js
// Create src/components/signup/top-navigation/top-navigation.component.js
// Create src/components/signup/top-navigation/top-navigation.stories.js
// Create src/components/signup/top-navigation/top-navigations.styl

Current Tags

  • 2.0.1                                ...           latest (2 years ago)

4 Versions

  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |