Giter Site home page Giter Site logo

Comments (6)

mrmeku avatar mrmeku commented on June 30, 2024 3

from nx-console.

chriswnewman avatar chriswnewman commented on June 30, 2024 1

+1 This would be absolutely fantastic for generating new apps as well because I find myself always passing in "--style=scss". AFAIK, there is no good way to configure the angular cli to default to this (technically you can, but it doesn't respect app.component style file). Having Angular Console remember my preference for this flag would be a huge value add over the CLI.

from nx-console.

FallenRiteMonk avatar FallenRiteMonk commented on June 30, 2024 1

@chriswnewman I think this would really improve the usability of the angular console, but I would say it would be even better if it does not remember my preference but use the projects setting @johnpapa mentioned.

The reason for me thinking that is, that maybe you personally prefer using scss, but what happens if you then want to contribute to a different project (for example a open source project) that uses css throughout the project? You would then have to change the option, until you continue working on one of your personal projects, when you would have to change it again. Now consider a person working on a personal project and a open source project in parallel, he would always have to keep changing, therefor I think it would be better to use the project setting.

from nx-console.

johnpapa avatar johnpapa commented on June 30, 2024

@chriswnewman this should do that for you ng config schematics.@schematics/angular:component.styleext scss

but yes, i like this feature request :)

from nx-console.

jaysoo avatar jaysoo commented on June 30, 2024

Makes sense to read in schematics from the project instead of having the console remember preferences. Good suggestion!

from nx-console.

Cammisuli avatar Cammisuli commented on June 30, 2024

This probably won't be coming after all this time. We'd probably come back around to this eventually if it fits into our timelines/scopes.

from nx-console.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.