{"id":13376157,"url":"https://github.com/biering/vueup","last_synced_at":"2026-02-19T17:07:31.608Z","repository":{"id":22491996,"uuid":"96228374","full_name":"biering/vueup","owner":"biering","description":"Simple, lightweight and super fast global notification popup for Vue.js","archived":false,"fork":false,"pushed_at":"2022-12-09T08:16:19.000Z","size":3743,"stargazers_count":107,"open_issues_count":37,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-02-10T15:54:21.150Z","etag":null,"topics":["component","notification","popup","vue"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/vueup","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/biering.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-04T14:48:44.000Z","updated_at":"2025-06-09T15:33:26.000Z","dependencies_parsed_at":"2023-01-12T08:30:42.584Z","dependency_job_id":null,"html_url":"https://github.com/biering/vueup","commit_stats":null,"previous_names":["biering/vueup","chryb/vueup"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/biering/vueup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biering%2Fvueup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biering%2Fvueup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biering%2Fvueup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biering%2Fvueup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/biering","download_url":"https://codeload.github.com/biering/vueup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biering%2Fvueup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29623579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T13:04:20.082Z","status":"ssl_error","status_checked_at":"2026-02-19T13:03:33.775Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["component","notification","popup","vue"],"created_at":"2024-07-30T05:02:29.364Z","updated_at":"2026-02-19T17:07:31.564Z","avatar_url":"https://github.com/biering.png","language":"JavaScript","funding_links":[],"categories":["Components \u0026 Libraries"],"sub_categories":["UI Components"],"readme":"# VueUp\n\nSimple, lightweight and elegant global notification popup for Vue.js.\n\nView the [demo](https://chryb.github.io/vueup).\n\n[![forthebadge](http://forthebadge.com/images/badges/built-with-love.svg)](http://forthebadge.com)\n[![forthebadge](http://forthebadge.com/images/badges/made-with-vue.svg)](http://forthebadge.com)\n[![forthebadge](http://forthebadge.com/images/badges/uses-js.svg)](http://forthebadge.com)\n\n---\n\n## Install\n\n```\nnpm install --save vueup\n```\n\nSomewhere in your app:\n\n```javascript\nimport Vue   from 'vue'\nimport VueUp from 'vueup'\n\nVue.use(VueUp)\n```\n\n\n#### Nuxt.js\n\nTo use VueUp with [Nuxt.js](https://nuxtjs.org) deploy the app with the `--spa` or `--s` flag to disable server-side rendering. For more information see [nuxtjs.org/guide/commands/](https://nuxtjs.org/guide/commands/).\n\nOtherwise, you can do the following steps:\n\nFile `plugins/vueup.js`:\n\n```javascript\nimport Vue from 'vue'\nimport VueUp from 'vueup'\n\nVue.use(VueUp)\n```\n\nThen, add the file inside the plugins key of `nuxt.config.js`:\n\n```javascript\nmodule.exports = {\n  plugins: [\n    { src: '~/plugins/vueup', ssr: false }\n  ]\n}\n```\n\n**Note:** The key `ssr` is used to disable the server-side rendering for VueUp because it's a client side library.\nFor more information see [nuxtjs.org/guide/plugins/](https://nuxtjs.org/guide/plugins/).\n\nI would recommend to add the VueUp element `\u003cvue-up\u003e\u003c/vue-up\u003e` under the `\u003c/nuxt\u003e` element in the `layouts/default.vue` file.\n\n\n## Usage\n\nAdd the `\u003cvue-up\u003e` component to one point in your application:\n\n```html\n\u003ctemplate\u003e\n  \u003cdiv\u003e\n    \u003cvue-up\u003e\u003c/vue-up\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n```\n\nTo trigger the notification use the `$popup` method:\n\n```javascript\nexport default {\n  ...\n  methods: {\n    notify () {\n      this.$popup({ message: 'A message' })\n    }\n  }\n}\n```\n\nYou can also use a promise to execute something after the VueUp notification has ended:\n\n```javascript\nexport default {\n  ...\n  methods: {\n    notify () {\n      this.$popup({ message: 'Your request is reviewed.' })\n        .then(() =\u003e {\n          // ... do something\n        })\n    }\n  }\n}\n```\n\n## API\n\n```javascript\nthis.$popup(string | Object)\n\nthis.$popup('message')\n\n// or\n\nthis.$popup({\n    message         : 'message',\n    color           : '#423452',\n    backgroundColor : 'rgba(0, 0, 0, 0.4)',\n    delay           : 4,\n    fontSize        : 60\n})\n```\n\n### Attributes\n\n|Name|type|default|description|\n|:--:|:--:|:--:|:---|\n|message|string|-|The message that will be displayed in the notification|\n|color|string|#ffffff|The text color of the message|\n|backgroundColor|string|rgba(0, 0, 0, 0.8)|The background color of the notification|\n|delay|float|3.5|How long (in seconds, e.q. 3.5 seconds) should the notification popup be displayed|\n|fontSize|int|60|The font size of the notification text|\n\n**Hint:** For the `color` and `backgroundColor` fields you can apply the color property in form of the css color property.\n\n## License\n\nCopyright (c) 2017 Christoph Biering, Licensed under the [MIT license](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiering%2Fvueup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbiering%2Fvueup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiering%2Fvueup/lists"}