RepositoryR
vue-r

vue-r/vueR

vue.js for R

145stars
14forks
7issues
3views

R-CMD-check CRAN
status

Vue.js is a quiet, very popular JavaScript framework with an impressive set of features, a solid community, and MIT license. Don’t tell anybody, but I think I might even like it better than React. With all this, Vue deserves its own set of helpers for R, just like d3r and reactR.

vueR provides these helpers with its dependency function html_dependency_vue() and htmlwidget helper vue().

Installation

install.packages("vueR")

or for the latest if different from CRAN

remotes::install_github("vue-r/vueR")

Example

We’ll start with a recreation of the simple “Hello World” example from the Vue.js documentation. This is the hard way.

library(htmltools)
library(vueR)

browsable(
  tagList(
    html_dependency_vue(), # local and minimized by default
    tags$div(id="app","{{message}}"),
    tags$script(
    "
    var app = new Vue({
      el: '#app',
      data: {
        message: 'Hello Vue!'
      }
    });
    "
    )
  )
)

vueR gives us an htmlwidget that can ease the code burden from above.

library(vueR)
library(htmltools)

# recreate Hello Vue! example
browsable(
  tagList(
    tags$div(id="app", "{{message}}"),
    vue(
      list(
        el = "#app",
        data = list(
          message = "Hello Vue!"
        )
      )
    )
  )
)

Also, please check out additional examples and experiments.

Build/Update

vueR is now part of a Github organization, and hopefully will be backed with interest by more than one (me) developer. For most vueR users, this section will not apply, but I would like to document the build/update step for new versions of Vue. In getvue.R, I created some functions for rapid download and deployment of new Vue versions. Running all of the code in getvue.R should update local minified and development versions of Vue and also update the version references in vueR.

Code of Conduct

I would love for you to participate and help with vueR, but please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Similar Projects

Discover other similar projects and AI models.

RepositoryR
rstudio/shiny

Easy interactive web applications with R

5.7k
Nov 25, 2026
RepositoryR
plotly/plotly.R

An interactive graphing library for R

2.7k
Jul 25, 2026
RepositoryR
jbkunst/highcharter

R wrapper for highcharts

743
Nov 30, 2026
RepositoryR
juba/explor

Interfaces for Multivariate Analysis in R

197
Jul 3, 2026
RepositoryTypeScript
ueberdosis/tiptap

The headless rich text editor framework for web artisans.

39.2k
Nov 30, 2026
RepositoryJavaScript
glin/reactable

Interactive data tables for R

681
Nov 3, 2026
RepositoryHTML
AdeelK93/collapsibleTree

Create Interactive Collapsible Tree Diagrams in R using D3.js

163
Nov 14, 2023
RepositoryJavaScript
juba/scatterD3

R scatter plot htmlwidget based on D3.js

162
Oct 30, 2026
RepositoryTypeScript
vuejs/vue

This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

212.6k
Oct 10, 2024