-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathhtml_dependency_vue3.Rd
53 lines (49 loc) · 1.04 KB
/
html_dependency_vue3.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dependencies.R
\name{html_dependency_vue3}
\alias{html_dependency_vue3}
\title{Dependencies for 'Vue3'}
\usage{
html_dependency_vue3(offline = TRUE, minified = TRUE)
}
\arguments{
\item{offline}{\code{logical} to use local file dependencies. If \code{FALSE},
then the dependencies use cdn as its \code{src}.}
\item{minified}{\code{logical} to use minified (production) version. Use
\code{minified = FALSE} for debugging or working with Vue devtools.}
}
\value{
\code{\link[htmltools]{htmlDependency}}
}
\description{
Dependencies for 'Vue3'
}
\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()
)
)
}
}
\seealso{
Other dependencies:
\code{\link{html_dependency_vue}()}
}
\concept{dependencies}