Serinus Banner

Discord

serinus_liqufiy is the integration of the Liquify template engine and Serinus. Thanks to it you can now easily use the Liquify template engine in your Serinus application.

Getting Started

Installation

To install Serinus you can use the following command:

dart pub add serinus_liquify

Usage

To use the Liquify template engine in your Serinus application, you need to add the LiquifyEngine to the application. This can be done using this code:

import 'package:serinus/serinus.dart';
import 'package:serinus_liquify/serinus_liquify.dart';

Future<void> main() async {
  final app = await serinus.createApplication(
    entrypoint: AppModule()
  );

  // Add the Liquify engine to the application
  app.viewEngine = LiquifyEngine();

  // Start the application
  await app.serve();
}

Documentation

You can find the documentation here.

Also if you need help with Liquify itself you can head to its github repo and check the documentation there.

License

serinus_liquify and all the other Avesbox Packages are licensed under the MIT license. See the LICENSE file for more info.