{"id":19656186,"url":"https://github.com/daggerok/vue-ionic-example","last_synced_at":"2025-02-27T02:19:19.772Z","repository":{"id":151042162,"uuid":"226698746","full_name":"daggerok/vue-ionic-example","owner":"daggerok","description":"How to start new Vue Ionic project","archived":false,"fork":false,"pushed_at":"2024-10-24T20:50:01.000Z","size":1705,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T00:41:32.231Z","etag":null,"topics":["gh-pages","ionic","vue"],"latest_commit_sha":null,"homepage":"https://daggerok.github.io/vue-ionic-example/","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/daggerok.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-08T16:41:26.000Z","updated_at":"2019-12-20T10:59:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9cdaa28-270b-4da3-a44b-540abcf6d1cd","html_url":"https://github.com/daggerok/vue-ionic-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fvue-ionic-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fvue-ionic-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fvue-ionic-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fvue-ionic-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daggerok","download_url":"https://codeload.github.com/daggerok/vue-ionic-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240964577,"owners_count":19885767,"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":["gh-pages","ionic","vue"],"created_at":"2024-11-11T15:26:55.146Z","updated_at":"2025-02-27T02:19:19.744Z","avatar_url":"https://github.com/daggerok.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-ionic-example [![Build Status](https://travis-ci.org/daggerok/vue-ionic-example.svg?branch=master)](https://travis-ci.org/daggerok/vue-ionic-example)\nHow to start new Vue Ionic project\n\n## Project setup\n\n```bash\nnpm i -g @vue/cli\nvue create vue-ionic-example\ncd vue-ionic-example\nvue add router\nnpm i -E @ionic/core @ionic/vue\n```\n\nedit `src/main.js` file:\n\n```js\nimport '@ionic/core/css/ionic.bundle.css';\n// import Ionic from '@ionic/vue';\nimport { defineCustomElements as Ionic } from \"@ionic/core/loader\"; // add a direct link to @ionic/core\n\nVue.use(Ionic);\nVue.config.ignoredElements = [/^ion-/];\n```\n\nfinally use ionic in your root `Aoo.vue` component:\n\n```vue\n\u003ctemplate\u003e\n  \u003cdiv class=\"ion-page\"\u003e\n    \u003cion-header\u003e\n      \u003cion-toolbar\u003e\n        \u003cion-title\u003eMy App\u003c/ion-title\u003e\n      \u003c/ion-toolbar\u003e\n    \u003c/ion-header\u003e\n    \u003cion-content class=\"ion-padding\"\u003e\n      \u003cdiv\u003e\n        \u003crouter-link to=\"/\"\u003eHome\u003c/router-link\u003e |\n        \u003crouter-link to=\"/about\"\u003eAbout\u003c/router-link\u003e\n      \u003c/div\u003e\n      \u003crouter-view/\u003e\n    \u003c/ion-content\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\n  export default {\n    name: 'app',\n  };\n\u003c/script\u003e\n```\n\n## npm scripts\n\n### Compiles and hot-reloads for development\n\n```bash\nnpm start\n```\n\n### Compiles and minifies for production\n\n```bash\nnpm run build\n```\n\n### Run your unit tests\n\n```bash\nnpm t\n```\n## other repositories\n\n* https://github.com/daggerok/typescript-ionic-nuxt-app\n* https://github.com/daggerok/webflux-kotlin-nuxt-app\n* https://github.com/daggerok/spring-boot-nuxt-spa\n* https://github.com/daggerok/ionic-nuxt-app\n* https://github.com/daggerok/nuxt-examples\n* https://github.com/daggerok/vue-examples\n\n## resources\n\n* https://forum.ionicframework.com/t/is-it-possible-to-use-ionic-with-nuxt/163202/3\n* https://ionicframework.com/docs/installation/cdn\n* [Nuxt.js docs](https://nuxtjs.org)\n* https://github.com/ionic-team/ionic/issues/18640#issuecomment-506304099\n* [Configuration Reference](https://cli.vuejs.org/config/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerok%2Fvue-ionic-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaggerok%2Fvue-ionic-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerok%2Fvue-ionic-example/lists"}