How to use the generator-jhipster/generators/client/prompts.askForClientTheme function in generator-jhipster

To help you get started, we’ve selected a few generator-jhipster examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jhipster / jhipster-vuejs / generators / client / index.js View on Github external
get prompting() {
        // The prompting phase is being overriden so that we can ask our own questions
        return {
            askForClient: prompts.askForClient,
            askForClientTheme: mainPrompts.askForClientTheme,
            askForClientThemeVariant: mainPrompts.askForClientThemeVariant,

            setSharedConfigOptions() {
                this.configOptions.clientFramework = this.clientFramework;
                this.configOptions.clientTheme = this.clientTheme;
                this.configOptions.clientThemeVariant = this.clientThemeVariant;
            }
        };
    }

generator-jhipster

Spring Boot + Angular/React/Vue in one handy generator

Apache-2.0
Latest version published 20 days ago

Package Health Score

89 / 100
Full package analysis