scaffold_leprechaun: Leprechaun

View source: R/leprechaun.R

scaffold_leprechaunR Documentation

Leprechaun

Description

Creates the basic structure for leprechaun app with JavaScript.

Usage

scaffold_leprechaun(
  react = FALSE,
  vue = FALSE,
  use_cdn = TRUE,
  edit = interactive()
)

Arguments

react

Whether to include React, internally runs apply_react() and adapts the srcjs/index.js template for React.

vue

Whether to include Vue, internally runs apply_vue() and adapts the srcjs/index.js template for Vue.

use_cdn

Whether to use the CDN for react or vue dependencies, this is passed to apply_react() or apply_vue() if react or vue arguments are set to TRUE and ignored otherwise.

edit

Automatically open pertinent files.

Details

Only one of react or vue can be set to TRUE.

Value

TRUE (invisibly) if successfully run.


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