Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
/ aq-vue3-sass Public archive

Scss compiler plugin for altruistiq:vue3 maintained by Altruistiq

Notifications You must be signed in to change notification settings

Altruistiq/aq-vue3-sass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

altruistiq:vue-sass

Scss compiler plugin for altruistiq:vue3 maintained by Altruistiq. Uses dart-sass for performance and node-sass-magic-importer to resolve @imports, enabling you to be creative with imports.

Installation

meteor add altruistiq:vue-sass

Usages

<style lang="scss">
  @import './styles/colors';

  .my-class {
    color: $red;
  }
</style>

supports scoped styling as well

<style lang="scss" scope>
  @import './styles/colors';

  .my-class {
    color: $red;
  }
</style>

Using imports

Imports are resolved from the root folder, e.g.
@import './some/path/to/cssfile.css';

You can also import from node_modules using a tilde, e.g.
@import '~some/path/to/a/node/package/cssfile.css';

Notes

This package only compiles scss inside of Vue components. If you use global stylesheets outside of Vue3 components we recommend installing fourseven:scss as well.

This package does not support .sass files

About

Scss compiler plugin for altruistiq:vue3 maintained by Altruistiq

Resources

Stars

Watchers

Forks

Packages

No packages published