Ionic 4 : why page generate command creates module file and there is no cli command for generate only modules for better Structure of projectHuge number of files generated for every Angular projectCLI cannot generate pages in Ionic 2Create component to specific module with Angular-CLIGenerate a routing module while creating a module in angular-cliHow to remove prefix 'app' and create folder wise components/modules using angular-cli command?angular-cli command to add 3rd party module into app moduleThis command can only be run inside of a CLI projectWhy are IonicModule not part of each Lazy Loaded page moduleHow to generate Stencil+Ionic4 PWA components with CLIShare ionic 4 / angular7 modules across projects

Is this n-speak?

Submitting a new paper just after another was accepted by the same journal

How to remove ambiguity: "... lives in the city of H, the capital of the province of NS, WHERE the unemployment rate is ..."?

Loading military units into ships optimally, using backtracking

Voltage across a resistor

How to assign many blockers at the same time?

How far did Gandalf and the Balrog drop from the bridge in Moria?

How can God warn people of the upcoming rapture without disrupting society?

Why are Tucker and Malcolm not dead?

Solution to German Tank Problem

Do beef farmed pastures net remove carbon emissions?

Why did I get only 5 points even though I won?

If a digital camera can be "hacked" in the ransomware sense, how best to protect it?

How can I decide if my homebrew item should require attunement?

PhD advisor lost funding, need advice

How do some PhD students get 10+ papers? Is that what I need for landing good faculty position?

how do companies get money from being listed publicly

Breadcrumb history decision

Understanding the point of a kölsche Witz

Is this curved text blend possible in Illustrator?

How to write hyperlinks to local files in GeoJSON properties?

Mapping an Aitoff projection onto a sphere

How would timezones work on a planet 100 times the size of our Earth

How to create events observer that only call when REST api dispatch events?



Ionic 4 : why page generate command creates module file and there is no cli command for generate only modules for better Structure of project


Huge number of files generated for every Angular projectCLI cannot generate pages in Ionic 2Create component to specific module with Angular-CLIGenerate a routing module while creating a module in angular-cliHow to remove prefix 'app' and create folder wise components/modules using angular-cli command?angular-cli command to add 3rd party module into app moduleThis command can only be run inside of a CLI projectWhy are IonicModule not part of each Lazy Loaded page moduleHow to generate Stencil+Ionic4 PWA components with CLIShare ionic 4 / angular7 modules across projects






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















Ionic 4 : why every page generate command creates module file and there is no cli command for generate only modules for better abstraction.




I know the difference between modules and components. modules used for
lazy loading so it can load only whenever it requested only, But my
question is does it required to generate module for every single page?




Ionic 4 CLI doesn't provide generate commands for custom modules like angular does.



what if i do have some static information pages which doesn't required lazy loading (separate modules for every page) for these scenario which one is the best way (for performance of the application).



-> To create a custom module manually and create components of pages
OR
-> Use ionic4 cli and use generate page command










share|improve this question


























  • you can use angular cli to generate modules 'ng g module yourModule' also as I understand you should follow angular conventions during structure your app as ionic now is not based on angular as was in older versions

    – Karim Ahmed
    Mar 27 at 18:24












  • Thanks for your time @karimAhmed. My question is do we need to use module for every mobile page? or with we can use just component which one is best for mobile browser

    – paras shah
    Mar 28 at 5:21












  • I think it'll give you a better performance when each page is a lazy-loaded module. please read this blog

    – Karim Ahmed
    Mar 28 at 7:43











  • Ok, Thanks for the time @KarimAhmed

    – paras shah
    Mar 29 at 13:46

















0















Ionic 4 : why every page generate command creates module file and there is no cli command for generate only modules for better abstraction.




I know the difference between modules and components. modules used for
lazy loading so it can load only whenever it requested only, But my
question is does it required to generate module for every single page?




Ionic 4 CLI doesn't provide generate commands for custom modules like angular does.



what if i do have some static information pages which doesn't required lazy loading (separate modules for every page) for these scenario which one is the best way (for performance of the application).



-> To create a custom module manually and create components of pages
OR
-> Use ionic4 cli and use generate page command










share|improve this question


























  • you can use angular cli to generate modules 'ng g module yourModule' also as I understand you should follow angular conventions during structure your app as ionic now is not based on angular as was in older versions

    – Karim Ahmed
    Mar 27 at 18:24












  • Thanks for your time @karimAhmed. My question is do we need to use module for every mobile page? or with we can use just component which one is best for mobile browser

    – paras shah
    Mar 28 at 5:21












  • I think it'll give you a better performance when each page is a lazy-loaded module. please read this blog

    – Karim Ahmed
    Mar 28 at 7:43











  • Ok, Thanks for the time @KarimAhmed

    – paras shah
    Mar 29 at 13:46













0












0








0








Ionic 4 : why every page generate command creates module file and there is no cli command for generate only modules for better abstraction.




I know the difference between modules and components. modules used for
lazy loading so it can load only whenever it requested only, But my
question is does it required to generate module for every single page?




Ionic 4 CLI doesn't provide generate commands for custom modules like angular does.



what if i do have some static information pages which doesn't required lazy loading (separate modules for every page) for these scenario which one is the best way (for performance of the application).



-> To create a custom module manually and create components of pages
OR
-> Use ionic4 cli and use generate page command










share|improve this question
















Ionic 4 : why every page generate command creates module file and there is no cli command for generate only modules for better abstraction.




I know the difference between modules and components. modules used for
lazy loading so it can load only whenever it requested only, But my
question is does it required to generate module for every single page?




Ionic 4 CLI doesn't provide generate commands for custom modules like angular does.



what if i do have some static information pages which doesn't required lazy loading (separate modules for every page) for these scenario which one is the best way (for performance of the application).



-> To create a custom module manually and create components of pages
OR
-> Use ionic4 cli and use generate page command







angular ionic-framework angular-cli ionic4 ionic-cli






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 27 at 8:59







paras shah

















asked Mar 27 at 7:17









paras shahparas shah

3292 silver badges12 bronze badges




3292 silver badges12 bronze badges















  • you can use angular cli to generate modules 'ng g module yourModule' also as I understand you should follow angular conventions during structure your app as ionic now is not based on angular as was in older versions

    – Karim Ahmed
    Mar 27 at 18:24












  • Thanks for your time @karimAhmed. My question is do we need to use module for every mobile page? or with we can use just component which one is best for mobile browser

    – paras shah
    Mar 28 at 5:21












  • I think it'll give you a better performance when each page is a lazy-loaded module. please read this blog

    – Karim Ahmed
    Mar 28 at 7:43











  • Ok, Thanks for the time @KarimAhmed

    – paras shah
    Mar 29 at 13:46

















  • you can use angular cli to generate modules 'ng g module yourModule' also as I understand you should follow angular conventions during structure your app as ionic now is not based on angular as was in older versions

    – Karim Ahmed
    Mar 27 at 18:24












  • Thanks for your time @karimAhmed. My question is do we need to use module for every mobile page? or with we can use just component which one is best for mobile browser

    – paras shah
    Mar 28 at 5:21












  • I think it'll give you a better performance when each page is a lazy-loaded module. please read this blog

    – Karim Ahmed
    Mar 28 at 7:43











  • Ok, Thanks for the time @KarimAhmed

    – paras shah
    Mar 29 at 13:46
















you can use angular cli to generate modules 'ng g module yourModule' also as I understand you should follow angular conventions during structure your app as ionic now is not based on angular as was in older versions

– Karim Ahmed
Mar 27 at 18:24






you can use angular cli to generate modules 'ng g module yourModule' also as I understand you should follow angular conventions during structure your app as ionic now is not based on angular as was in older versions

– Karim Ahmed
Mar 27 at 18:24














Thanks for your time @karimAhmed. My question is do we need to use module for every mobile page? or with we can use just component which one is best for mobile browser

– paras shah
Mar 28 at 5:21






Thanks for your time @karimAhmed. My question is do we need to use module for every mobile page? or with we can use just component which one is best for mobile browser

– paras shah
Mar 28 at 5:21














I think it'll give you a better performance when each page is a lazy-loaded module. please read this blog

– Karim Ahmed
Mar 28 at 7:43





I think it'll give you a better performance when each page is a lazy-loaded module. please read this blog

– Karim Ahmed
Mar 28 at 7:43













Ok, Thanks for the time @KarimAhmed

– paras shah
Mar 29 at 13:46





Ok, Thanks for the time @KarimAhmed

– paras shah
Mar 29 at 13:46












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55371723%2fionic-4-why-page-generate-command-creates-module-file-and-there-is-no-cli-comm%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55371723%2fionic-4-why-page-generate-command-creates-module-file-and-there-is-no-cli-comm%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript