{"id":23152411,"url":"https://github.com/1amageek/vue-pring-sample","last_synced_at":"2026-05-07T00:36:59.389Z","repository":{"id":94515692,"uuid":"149730488","full_name":"1amageek/vue-pring-sample","owner":"1amageek","description":"Vue + Cloud Firestore +TypeScript","archived":false,"fork":false,"pushed_at":"2018-09-21T08:52:15.000Z","size":187,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T15:50:42.018Z","etag":null,"topics":["cloudfirestore","typescript","vue"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1amageek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-09-21T08:00:49.000Z","updated_at":"2019-12-23T08:11:13.000Z","dependencies_parsed_at":"2023-07-28T07:15:23.745Z","dependency_job_id":null,"html_url":"https://github.com/1amageek/vue-pring-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/1amageek/vue-pring-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1amageek%2Fvue-pring-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1amageek%2Fvue-pring-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1amageek%2Fvue-pring-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1amageek%2Fvue-pring-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1amageek","download_url":"https://codeload.github.com/1amageek/vue-pring-sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1amageek%2Fvue-pring-sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259421188,"owners_count":22854760,"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","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":["cloudfirestore","typescript","vue"],"created_at":"2024-12-17T19:14:37.540Z","updated_at":"2026-05-07T00:36:59.320Z","avatar_url":"https://github.com/1amageek.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-pring-sample\n\n## Project setup\n```\nnpm install\n```\n\n## Set Config.ts\n```TypeScript\nexport const config = {\n    apiKey: '',\n    authDomain: '',\n    databaseURL: '',\n    projectId: '',\n    storageBucket: '',\n    messagingSenderId: ''\n};\n```\n\n[Firebase console](https://console.firebase.google.com/)\n\n### Compiles and hot-reloads for development\n```\nnpm run serve\n```\n\n### Compiles and minifies for production\n```\nnpm run build\n```\n\n### Lints and fixes files\n```\nnpm run lint\n```\n\n### Run your unit tests\n```\nnpm run test:unit\n```\n\n# To make the same environment\n\n## Install Vue3\n```\nsudo npm install -g @vue/cli\n```\n\nhttps://cli.vuejs.org/guide/installation.html\n\n## Create project file\n\n```\nvue create sample-project\n```\n\n__ vue config __\n```JSON\n{\n  \"useTaobaoRegistry\": true,\n  \"presets\": {\n    \"preset_for_pring.ts\": {\n      \"useConfigFiles\": false,\n      \"plugins\": {\n        \"@vue/cli-plugin-babel\": {},\n        \"@vue/cli-plugin-typescript\": {\n          \"classComponent\": true,\n          \"tsLint\": true,\n          \"lintOn\": [\n            \"save\"\n          ],\n          \"useTsWithBabel\": true\n        },\n        \"@vue/cli-plugin-pwa\": {},\n        \"@vue/cli-plugin-unit-jest\": {}\n      },\n      \"router\": true,\n      \"routerHistoryMode\": true,\n      \"vuex\": true,\n      \"cssPreprocessor\": \"stylus\"\n    }\n  }\n}\n```\n\n## Install pring \u0026 firebase\n```\nnpm add firebase \n```\n\n```\nnpm add pring \n```\n\n## Set Config.ts\n```TypeScript\nexport const config = {\n    apiKey: '',\n    authDomain: '',\n    databaseURL: '',\n    projectId: '',\n    storageBucket: '',\n    messagingSenderId: ''\n};\n```\n\n## pring init\n```TypeScript\nimport Vue from 'vue';\nimport App from './App.vue';\nimport router from './router';\nimport store from './store';\nimport './registerServiceWorker';\n\nimport * as Pring from 'pring';\nimport { config } from './config';\nimport firebase from 'firebase';\nimport 'firebase/firestore';\n\nconst app = firebase.initializeApp(config);\nPring.initialize(app.firestore(), firebase.firestore.FieldValue.serverTimestamp());\n\nVue.config.productionTip = false;\n\nnew Vue({\n  router,\n  store,\n  render: (h) =\u003e h(App),\n}).$mount('#app');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1amageek%2Fvue-pring-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1amageek%2Fvue-pring-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1amageek%2Fvue-pring-sample/lists"}