@reboost/plugin-malinajs
TypeScript icon, indicating that this package has built-in type declarations

0.21.0 • Public • Published

npm license

Malina.js Plugin

Adds support for Malina.js.

Usage

Setup

Install it using npm

npm i -D @reboost/plugin-malinajs

Install malinajs package, if not already installed

npm i malinajs

Import it from the package

const { start } = require('reboost');
const MalinaJSPlugin = require('@reboost/plugin-malinajs');

Add it to the plugins array

const { start } = require('reboost');
const MalinaJSPlugin = require('@reboost/plugin-malinajs');

start({
  plugins: [
    MalinaJSPlugin({
      // Options
    })
  ]
})

Require file in your code

import Component from './file.xht';

Options

compilerOptions

Type: object

Options to use when compiling components. Please refer to official docs for available options.

License

Licensed under the MIT License.

Readme

Keywords

Package Sidebar

Install

npm i @reboost/plugin-malinajs

Weekly Downloads

1

Version

0.21.0

License

MIT

Unpacked Size

6.43 kB

Total Files

6

Last publish

Collaborators

  • sarsamurmu