atma-loader-sass

1.1.3 • Public • Published

sass Compiler (Atma Plugin)

Build Status

The Plugin extends:

How to use
Embed into the Project
  • atma plugin install atma-loader-sass

    This adds atma-loader-sass npm dependency and the package.json would look like:

     {
     	"dependency": {
     		"atma-loader-sass"
     	},
     	"atma": {
     		"plugins": [
     			"atma-loader-sass"
     		],
     		"settings": {
     			"atma-loader-sass": {
                     "sass": {
    
                     }
     			}
     		}
     	}
     }
  • That's all. Now, you are ready to use 'dynamic stylesheets' in your project

Quick Try
  • install atma: $ npm install atma -g

  • install plugin: $ atma plugin install atma-loader-sass

  • add test.html to the directory

    <!DOCTYPE html>
    <link href='test.scss' rel='stylesheet' />
  • add test.sass

    $color: green;
    body { background: $color; }
  • start the server: $ atma server

  • open the browser: http://localhost:5777/test.html


(c) MIT License - Atma.js Project

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.30latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.30
1.1.20
1.1.10
1.1.00
1.0.50

Package Sidebar

Install

npm i atma-loader-sass

Weekly Downloads

0

Version

1.1.3

License

MIT

Unpacked Size

6.51 kB

Total Files

4

Last publish

Collaborators

  • tenbits