-
Notifications
You must be signed in to change notification settings - Fork 663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configurable Starters #3499
Comments
I think this(--no-karma, --theme=dark, --no-lazy-loading) is possible. |
I'm not certain how scalable that is. If the starter's file structure changes even slightly, it could result in runtime errors and will be difficult to maintain. Your PR for the
^ This would start a new app without karma and the old way of structuring features (pages, components, etc). |
I'm glad for v3's folder structure can also be used in v4! |
A note: the important conceptual change here is that the logic of how to structure a starter is shifted onto the starter template itself, and the Ionic CLI becomes just a way to ask for inputs and write files. This makes cc @johneast |
Hi, @dwieeb Will we have this feature soon on the Ionic 5 app? i.e. create CSS apps. Because of @adamdbradley instruct us to use CSS only apps. It is here: https://twitter.com/adamdbradley/status/1250790908833955840 |
Probably not soon, no. I wouldn't make decisions for your organization based on opinions on Twitter. Use what works best for you and your team. In the meantime, it isn't terribly difficult to change an Ionic Angular app to use CSS if that's what you want. |
@dwieeb |
Yes. You could also start with an Angular app (with the css option) and run the |
I don't think this is a good option since we cannot create Side menu, Tabs and Capacitor apps by default here. It will be a big loss for us. The manual change also an annoying thing since we need to change the file extension and its usage file and etc. So our only hope here is you'll give this soon for us! |
Yeah, there isn't an ideal workaround right now. Hopefully I can prioritize configurable starters soon. |
@dwieeb Thanks a lot. We'll highly appreciate it since now CSS is the default template for almost all the top frameworks. That is manually due to CSS supports variables and a lot more now and evolving it rapidly. |
Any progress on this? |
Many framework CLIs have a single starter with feature flags to enable/disable/switch certain features and preferences such as TypeScript, testing frameworks, theme, etc. We've already seen requests for this, such as #3490, #4236
The starters in place for Ionic 4 beta are the typical Ionic-style starters, but can we make one starter where the contents and options are configurable? Can
ionic start
prompt for all these options?Examples:
The text was updated successfully, but these errors were encountered: