html_dependency_vue3 {vueR} | R Documentation |
Dependencies for 'Vue3'
Description
Dependencies for 'Vue3'
Usage
html_dependency_vue3(offline = TRUE, minified = TRUE)
Arguments
offline |
|
minified |
|
Value
See Also
Other dependencies:
html_dependency_vue()
Examples
if(interactive()){
library(vueR)
library(htmltools)
browsable(
tagList(
tags$div(id="app","{{message}}"),
tags$script(
"
var app = {
data: function() {
return {
message: 'Hello Vue!'
}
}
};
Vue.createApp(app).mount('#app');
"
),
html_dependency_vue3()
)
)
}
[Package vueR version 0.6.0 Index]