Strudel.js (@
) is a lightweight ECMAScript 2015 component framework that main features are:
- Decorators: Boilerplate reduced to minimum
- Component-Based: Modularise and easily extend your DOM functionality
- Small footprint: No dependencies, ~3kb gzipped
Strudel.js supports all the browsers that are ES5 and DOM4 compliant (IE10 and below not supported).
Here is simplest component to get you started:
@Component('.greeter')
class Greeter {
init() {
this.$element.html('Hello world!');
}
}
It's recommended to start a project using dedicated CLI
To check more examples and docs visit strudeljs.org.
Please make sure to read the Contributing Guide before making a pull request.
Copyright (c) 2017-present, Mateusz Łuczak