Code Monkey home page Code Monkey logo

sass-project-advanced's Introduction

sass-project-advanced

  • Install sass

    npm i sass --save-dev
  • install parcel

    npm i parcel-bundler --save-dev
  • Ändere dein Script in package.json

    "start": "parcel src/index.html",
    "build": "parcel build src/index.html"

Strukturen für Projekt
Es gibt verschiedenen Methoden, wie man die Ornder für ein Projelt anlegen soll. Die drei bekannteste Methoden sind:

  1. SMACSS

    • Base:
    • Moduls:
    • Layout:
    • Themen:
  2. ITCSS

    • Settings
    • Tools
    • Generic
    • Elements
    • Objects
    • Components
    • Utilities
  3. 7in1

  • Struktur 7in1

      src/
    |
    |– abstracts/
    |   |– _variables.scss    # Sass Variablen
    |   |– _functions.scss    # Sass Funktionen
    |   |– _mixins.scss       # Sass Mixins
    |   |– _placeholders.scss # Sass Platzhalter
    |
    |– base/
    |   |– _reset.scss        # Reset/normalize
    |   |– _typography.scss   # Regeln für Typographie
    |# Etc.
    |
    |– components/
    |   |– _buttons.scss      # Buttons
    |   |– _carousel.scss     # Carousel
    |   |– _cover.scss        # Cover
    |   |– _dropdown.scss     # Dropdown
    |# Etc.
    |
    |– layout/
    |   |– _navigation.scss   # Navigation
    |   |– _grid.scss         # Grid system
    |   |– _header.scss       # Header
    |   |– _footer.scss       # Footer
    |   |– _sidebar.scss      # Sidebar
    |   |– _forms.scss        # Forms
    |# Etc.
    |
    |– pages/
    |   |– _home.scss         # Home spezifische Styles
    |   |– _contact.scss      # Contact spezifische styles
    |# Etc.
    |
    |– themes/
    |   |– _theme.scss        # Default-Theme
    |   |– _admin.scss        # Admin-Theme
    |# Etc.
    |
    |– vendors/
    |   |– _bootstrap.scss    # Bootstrap
    |   |– _jquery-ui.scss    # jQuery UI
    |# Etc.
    |
    |
    `– main.scss              # Haupt Sass-Datei

Weitere führende Links

👉 Sass with auto-refresh (and more) made easy
👉 Get your stylesheets more organized with Sass partials
👉 Sass-Guide
👉 Regel für Projekt nach

sass-project-advanced's People

Contributors

achampih avatar

Watchers

 avatar

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.