@reboost/plugin-malinajs
v0.21.0
Published
Malina.js plugin for Reboost
Downloads
4
Readme
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.