Abhijith Konnayil
Abhijith Konnayil

Reputation: 4646

create a page on a specific folder get cli | Getx Flutter

I have installed the get_cli for my flutter development. As the docs say, I use the command get create page:home to create a home module with bindings, view and controller. It is created in the lib/app/modules/home folder by default. How to create this under a differnet folder, say lib/app2/modules/home or lib/modules/home.

Upvotes: 5

Views: 4423

Answers (2)

M E S A B O
M E S A B O

Reputation: 953

with command below, get cli automatically creates new pages in /lib/module directory

get create page:mypage

So if I want to create a subdirectory in home/bedroom so it's

get create page:bedroom on home

For more details visit --> get_cli

Upvotes: 0

Abdelrahman Tareq
Abdelrahman Tareq

Reputation: 2317

have u tried this:

get create page:home on lib/modules/home

Upvotes: 2

Related Questions