Home

Awesome

The NX framework

Home page, Docs

NX is a modular front-end framework - built with ES6 and Web Components. The building blocks of NX are the core, the middlewares, the components and the utilities. These are all hosted in separate GitHub repos and npm packages.

The NX core is a tiny library, responsible for one thing only. It allows you to create dumb components and to augment them with middlewares. A component executes its middlewares when it is attached to the DOM and it gains all the extra functionalities from them. NX comes with some core middlewares out of the box, which you can find listed below.

These can be combined to create components with the desired functionality. Alternatively ready made core components can be extended and used, to avoid boilerplate code.

Resources

Installation

You can get NX from npm with the npm install @nx-js/framework command. See the installation page for other options.

Local development

You can bundle the framework locally with the npm run build command and minify it with the npm run minify command. The bundled and minified files are placed in the lib folder.

Contributing

A list of contributors

NX is very modular and every module is hosted in its own GitHub repository. Please open the issues and PRs in the relevant repositories. For example: if you have a feature request for routing, open a new issue in the route-middleware repo.

Sponsored by

<a href="https://trace.risingstack.com/"> <img src="http://nx-framework.com/images/trace_colored.svg" width="200" /> </a>