cjss-group / CJSS

A CSS based web framework
https://cjss.js.org/
MIT License
670 stars 20 forks source link

sass support?? #5

Closed paulfalgout closed 5 years ago

paulfalgout commented 5 years ago

Great work, but unless I can use my sass mixins, this is a non-starter.

Also do you plan on adding handlebars or jsx?

scottkellum commented 5 years ago

@paulfalgout CJSS will work, and will work well in Sass.

And yes it should be relatively straightforward to add most templating languages like handlebars, JSX, pug, etc on top. I didn’t because I wanted to keep the initial release as light as possible. Other plugins like adding a Sass compiler, SQL parser, etc are also possible. Note the top level is CSS and parsed by the browser as such. Any Sass complication or language parsing will need to happen inside a CSS property.

jabsatz commented 5 years ago

Give us SAJSS

scottkellum commented 5 years ago

See issue #14

c-harding commented 5 years ago

@paulfalgout using SASS will be awkward because of limited support for multi line strings, but you should be able to use CJSS code in your server-side-rendered SCSS just fine