cjss-group / CJSS

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

Create a plugin system #14

Closed scottkellum closed 5 years ago

scottkellum commented 5 years ago

Create a plugin system to allow users to add support for other languages. So you could add support for --jsx, --scss, --pug, --sql or whatever you want to parse, and if it should be parsed as markup, script, data, or style.

cmcdaniels-ds commented 5 years ago

--sql

( ͡ʘ ͜ʖ ͡ʘ)

c-harding commented 5 years ago

Parsing JSX looks like it's going to be hard: basically the only in-browser module available is AnyWhichWay/jsxdirect, which is based on lots of regex and seems rather flimsy from a cursory glance over the code.

KargJonas commented 5 years ago

@xsanda https://github.com/KargJonas/live-jsx