Skip to content

Scaffolding in use at codeventure for React Native Projects

License

Notifications You must be signed in to change notification settings

cdvntr/generator-rn-cv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5e68d18 · Jul 26, 2016

History

17 Commits
Jul 26, 2016
Jul 26, 2016
Jul 26, 2016
Jul 22, 2016
Jul 26, 2016
Jul 26, 2016
Jul 26, 2016

Repository files navigation

generator-rn-cv npm version

An opinionated React Native generator

Installation

First, install Yeoman and generator-react-native-module using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-rn-cv

Usage

Create a new project

yo rn-cv

Create a component

yo rn-cv:component
  1. What kind of component do you want?
  • Component This choice lets you create a regular component only which will be accessible to its parent and working directory.
  • Shared Component This choice creates a shared component which will be reachable throughout all your components.
  1. Will it be a main component or subcomponent?
  • Main Component This will create a container component that will have its own subcomponents and its own directory.
  • Subcomponent This will create a subcomponent that can be used by its parent.
  1. Where do you want it?
  • Here you can select the directory you want your component in
  1. What will be the name of your component?
  • Input the name of the component. This will turn the format you used to PascalCase. (e.g: 'home view' -> 'HomeView')

Create a service

yo rn-cv:service
  1. What will be the name of your service?
  • Input the name of the service. This will turn the format you used to camelCase. (e.g: 'user service' -> 'userService')

License

MIT © codeventure

About

Scaffolding in use at codeventure for React Native Projects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published