Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

ionic-angular: No support for Standalone Components #18

Description

@paulmojicatech

Is your feature request related to a problem? Please describe.
This feature is not related to a problem but seeing as the Angular team is making standalone components the default with their generate component command, it would be nice to have this option when creating a new application with the nx g @nxext/ionic-angular:application "<% my app name %>" --standalone

Describe the solution you'd like
Having a different set of template file when the standalone flag is specified. It looks like the code has this already in the generator script but the template files have not been created yet.

Describe alternatives you've considered
We can work around it by manually updating the main.ts file, creating a routes file, removing the modules and updating the generated components with the standalone: true option.

Additional context
files.ts

const filesDir = options.standalone
    ? normalizePath(__dirname + `/../files/${options.template}-standalone`)
    : normalizePath(__dirname + `/../files/${options.template}`);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions