add_plugin_html: HTML Plugin

View source: R/plugins.R

add_plugin_htmlR Documentation

HTML Plugin

Description

Add the html-webpack-plugin to the configuration to generate HTML with webpack, used in packer to generate the UI of a golem app with webpack.

Usage

add_plugin_html(use_pug = FALSE, output_path = "../index.html")

Arguments

use_pug

Set to TRUE to use the pug engine.

output_path

Path to the generated html file, defaults to ../index.html as is ideal for golem. Note that this path is relative to your output directory specified in your webpack.common.js file.


packer documentation built on May 28, 2022, 5:06 p.m.