cssx-build

0.2.0 • Public • Published

CSSX

Compile CSS as a programming language.

Documentation

Usage

Write your CSS in .cssx files in src/pages directory. Then run the following commands:

npx cssx-build

Flags

  • --output - Output directory for compiled CSS files. Default is dist.
  • --watch - Watch for changes in the src directory and compile CSSX files to CSS.
  • --serve - Serve the compiled CSS files on a local server.

Structure

├── dist
    └── index.html
└── src
    └── pages
        └── index.cssx

This will compile your CSSX files to CSS in the dist directory.

Package Sidebar

Install

npm i cssx-build

Homepage

cssx.js.org

Weekly Downloads

11

Version

0.2.0

License

MIT

Unpacked Size

19.6 kB

Total Files

5

Last publish

Collaborators

  • salteadorneo