1.0.1 • Published 9 months ago

@gluedigital/universal-plugin-sass v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

Universal Plugin Sass

This is a plugin for the universal-scripts framework. It enables support for Sass, allowing you to use .scss or .sass files in your Universal project.

Features

  • Enables Sass (.scss and .sass file support) for styling.
  • Compatible with CSS Modules for scoped styling.
  • Works with Webpack-based builds in Universal projects.
  • Allows better organization of styles and reusable variables.

Installation

To install the plugin, run:

yarn add @gluedigital/universal-plugin-sass

If using npm

npm install @gluedigital/universal-plugin-sass

Then you can

// styles/index.sass
body
  background-color: #f4f4f4
  font-family: Arial, sans-serif

Import it in your application:

import "./styles/index.sass"

const App = () => <div>Welcome to My App</div>

export default App
1.0.1

9 months ago

1.0.0

9 months ago