Skip to content
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.

Make generate route components conveniently. #1336

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Make generate route components conveniently. #1336

wants to merge 1 commit into from

Conversation

AkashiX
Copy link

@AkashiX AkashiX commented Nov 10, 2017

    1. To quick create a module you can run: grunt createModule --name=; or just follow blow steps
    1. Copy a template module folder that named “Home”, rename it to your module name, such as “Xxx”
    1. In components/ folder, change the root view name from ‘HomeView.js’ to what you wanted (such as ‘XxxView.js’), change the sass file name from ‘HomeView.scss’ (such as ‘XxxView.scss’) to what you wanted. Change the view name in below line:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant