Git Product home page Git Product logo

Comments (4)

jancborchardt avatar jancborchardt commented on August 16, 2024

@luixxiul good point! @skjnldsv what do you think? :)

from forms.

skjnldsv avatar skjnldsv commented on August 16, 2024

Hello :)
At nextcloud we suggest to not use scss file anymore with your vue apps.
Scss inside vue single-file-components is the easiest way to go.
Lots of apps now uses this pattern and lots of new contributors were quite happy by how easy they were able to manage it.

The only scss that is usually still needed or helpful at least, is an icons.scss file so apps can use the svg colour api, but that's very specific and should not bother newcomers :)

There should possibly be a naming rule like BEM to be adopted to maintain the codebase clean and organized

Bem was also more or less pushed in lots of apps, contacts, talk, the vue components.

from forms.

luixxiul avatar luixxiul commented on August 16, 2024

Scss inside vue single-file-components is the easiest way to go.

From my experience at another project without the naming rules it's surely the easiest and yet also a way of inconsistent styling, and the very reason of UI regressions.

Adding comments might help, which isn't promised though.

from forms.

skjnldsv avatar skjnldsv commented on August 16, 2024

Closing :)

from forms.

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.