{"id":28677045,"url":"https://github.com/vue-r/vuer","last_synced_at":"2025-07-23T08:08:28.256Z","repository":{"id":45355651,"uuid":"75020372","full_name":"vue-r/vueR","owner":"vue-r","description":"vue.js for R","archived":false,"fork":false,"pushed_at":"2024-07-26T13:59:28.000Z","size":1144,"stargazers_count":142,"open_issues_count":7,"forks_count":14,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-07-18T03:57:50.864Z","etag":null,"topics":["htmlwidgets","js","r","shiny","vue"],"latest_commit_sha":null,"homepage":"https://vue-r.github.io/vueR","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vue-r.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-28T22:35:30.000Z","updated_at":"2025-04-12T12:57:40.000Z","dependencies_parsed_at":"2024-07-26T14:59:27.300Z","dependency_job_id":"ebb26ae0-7d94-4846-95a6-1e30652602ae","html_url":"https://github.com/vue-r/vueR","commit_stats":{"total_commits":70,"total_committers":3,"mean_commits":"23.333333333333332","dds":0.02857142857142858,"last_synced_commit":"61dbd730bfc2d510da0c87bccd138d862d689e7b"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/vue-r/vueR","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vue-r%2FvueR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vue-r%2FvueR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vue-r%2FvueR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vue-r%2FvueR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vue-r","download_url":"https://codeload.github.com/vue-r/vueR/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vue-r%2FvueR/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266640830,"owners_count":23960809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["htmlwidgets","js","r","shiny","vue"],"created_at":"2025-06-14T00:01:04.923Z","updated_at":"2025-07-23T08:08:28.226Z","avatar_url":"https://github.com/vue-r.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"README-\"\n)\n```\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/vue-r/vueR/workflows/R-CMD-check/badge.svg)](https://github.com/vue-r/vueR/actions)\n[![CRAN status](https://www.r-pkg.org/badges/version/vueR)](https://CRAN.R-project.org/package=vueR)\n[![R-CMD-check](https://github.com/vue-r/vueR/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/vue-r/vueR/actions/workflows/R-CMD-check.yaml)\n\u003c!-- badges: end --\u003e\n\n[Vue.js](https://vuejs.org) 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`](https://github.com/timelyportfolio/d3r) and [`reactR`](https://github.com/react-r/reactR).\n\n`vueR` provides these helpers with its dependency function `html_dependency_vue()` and `htmlwidget` helper `vue()`.\n\n\n### Installation\n\n```\ninstall.packages(\"vueR\")\n```\n\nor for the latest if different from CRAN\n\n```\nremotes::install_github(\"vue-r/vueR\")\n```\n\n### Example\n\nWe'll start with a recreation of the simple \"Hello World\" example from the Vue.js documentation.  This is the hard way.\n\n```{r eval=FALSE}\nlibrary(htmltools)\nlibrary(vueR)\n\nbrowsable(\n  tagList(\n    html_dependency_vue(), # local and minimized by default\n    tags$div(id=\"app\",\"{{message}}\"),\n    tags$script(\n    \"\n    var app = new Vue({\n      el: '#app',\n      data: {\n        message: 'Hello Vue!'\n      }\n    });\n    \"\n    )\n  )\n)\n```\n\n`vueR` gives us an `htmlwidget` that can ease the code burden from above.\n\n```{r eval=FALSE}\nlibrary(vueR)\nlibrary(htmltools)\n\n# recreate Hello Vue! example\nbrowsable(\n  tagList(\n    tags$div(id=\"app\", \"{{message}}\"),\n    vue(\n      list(\n        el = \"#app\",\n        data = list(\n          message = \"Hello Vue!\"\n        )\n      )\n    )\n  )\n)\n```\n\nAlso, please check out additional [examples](https://github.com/vue-r/vueR/tree/master/inst/examples) and [experiments](https://github.com/vue-r/vueR/tree/master/inst/experiments).\n\n### Build/Update\n\n`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`](https://github.com/vue-r/vueR/blob/master/build/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`.\n\n### Code of Conduct\n\nI would love for you to participate and help with `vueR`, but please note that this project is released with a [Contributor Code of Conduct](https://github.com/vue-r/vueR/blob/master/CONDUCT.md). By participating in this project you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvue-r%2Fvuer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvue-r%2Fvuer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvue-r%2Fvuer/lists"}