Clone this repository and switch to the project specific Node.js version:
nvm use
Use Yalc to publish the library for local usage using the following command:
yalc publish
After the library has been published with Yalc, add it to a project with the following command:
yalc add @pxl/nodejs-framework
And start using in project:
import { Application } from '@pxl/nodejs-framework';
const app = new Application({
// ...
});
Run the following command to automatically publish changes through Yalc when files are being changed:
npm run dev