Installation | Usage | Contributing | License
Installation is as simple as running the following command (if you see EACCES error, reading fixing npm permissions may help):
npm install -g codely
or with yarn
yarn add global codely
Run the following command:
codely init
Then, answer the questions below:
- What is the name of the project?
- What do you want to code?
And then a folder will be created with the name of the project and with the selected subsystems.
Run the following command:
codely generate:component
Then, answer the questions below:
- What is the name of the component?
- Do you want to create the component using typescript?
And then a folder will be created with the name of the component inside src/components with an index file and a styles files.
Run the following command:
codely generate:page
Then, answer the questions below:
- What is the name of the page?
- Do you want to create the page using typescript?
And then a folder will be created with the name of the component inside src/pages with an index file and a styles files.
Run the following command:
codely generate:controller
Then, answer the questions below:
- What is the name of the controller?
- What methods do you want to use?
- Does your project use the JavaScript modules type (import/export)?
- Do you want to create the controller using typescript?
And then a file will be created with the name of the controller inside src/app/controllers.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE.md file for details.
Made with