diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 947c5936..35f21b0a 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -15,7 +15,7 @@ body: required: true attributes: label: 🛠️ To reproduce - description: A reproduction of the bug via https://stackblitz.com/github/danielroe/nuxt-ionic/tree/main/playground + description: A reproduction of the bug via https://stackblitz.com/github/nuxt-modules/ionic/tree/main/playground placeholder: https://stackblitz.com/[...] - type: textarea validations: diff --git a/CHANGELOG.md b/CHANGELOG.md index f8396466..4744a4eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,147 +1,147 @@ -## [0.7.0](https://github.com/danielroe/nuxt-ionic/compare/0.6.1...0.7.0) (2022-09-07) +## [0.7.0](https://github.com/nuxt-modules/ionic/compare/0.6.1...0.7.0) (2022-09-07) ### Features -* middleware support ([#59](https://github.com/danielroe/nuxt-ionic/issues/59)) ([1f9ea29](https://github.com/danielroe/nuxt-ionic/commit/1f9ea2941456db4b9dde0b587ea40d76e7a1d4e1)) +* middleware support ([#59](https://github.com/nuxt-modules/ionic/issues/59)) ([1f9ea29](https://github.com/nuxt-modules/ionic/commit/1f9ea2941456db4b9dde0b587ea40d76e7a1d4e1)) -## [0.6.1](https://github.com/danielroe/nuxt-ionic/compare/0.6.0...0.6.1) (2022-08-31) +## [0.6.1](https://github.com/nuxt-modules/ionic/compare/0.6.0...0.6.1) (2022-08-31) ### Bug Fixes -* add missing import to `` ([ea23ac6](https://github.com/danielroe/nuxt-ionic/commit/ea23ac647b84bcfc0c59234b68504631e0fb1bc5)) +* add missing import to `` ([ea23ac6](https://github.com/nuxt-modules/ionic/commit/ea23ac647b84bcfc0c59234b68504631e0fb1bc5)) -## [0.6.0](https://github.com/danielroe/nuxt-ionic/compare/0.5.1...0.6.0) (2022-08-30) +## [0.6.0](https://github.com/nuxt-modules/ionic/compare/0.5.1...0.6.0) (2022-08-30) ### Features -* add IonAnimation component ([#40](https://github.com/danielroe/nuxt-ionic/issues/40)) ([24b1869](https://github.com/danielroe/nuxt-ionic/commit/24b186922e96731fd1ecef33fec956f548cf1a14)) +* add IonAnimation component ([#40](https://github.com/nuxt-modules/ionic/issues/40)) ([24b1869](https://github.com/nuxt-modules/ionic/commit/24b186922e96731fd1ecef33fec956f548cf1a14)) -## [0.5.1](https://github.com/danielroe/nuxt-ionic/compare/0.5.0...0.5.1) (2022-08-17) +## [0.5.1](https://github.com/nuxt-modules/ionic/compare/0.5.0...0.5.1) (2022-08-17) ### Bug Fixes -* optimize `@ionic/vue` ([664d5ad](https://github.com/danielroe/nuxt-ionic/commit/664d5ad7d2ebb211c68cd88aff18375aa2445237)) +* optimize `@ionic/vue` ([664d5ad](https://github.com/nuxt-modules/ionic/commit/664d5ad7d2ebb211c68cd88aff18375aa2445237)) -## [0.5.0](https://github.com/danielroe/nuxt-ionic/compare/0.4.0...0.5.0) (2022-08-17) +## [0.5.0](https://github.com/nuxt-modules/ionic/compare/0.4.0...0.5.0) (2022-08-17) ### Features -* **router:** add support for custom router options ([acfe7f1](https://github.com/danielroe/nuxt-ionic/commit/acfe7f127caba7560f4e5c69d00ef1b4fd5b0c9a)) +* **router:** add support for custom router options ([acfe7f1](https://github.com/nuxt-modules/ionic/commit/acfe7f127caba7560f4e5c69d00ef1b4fd5b0c9a)) ### Bug Fixes -* remove prerendering workaround ([3b18f8f](https://github.com/danielroe/nuxt-ionic/commit/3b18f8f609cf159ee77f927fc26efc1e6bbd87ef)) -* transpile `ionicons` ([a9ef0d7](https://github.com/danielroe/nuxt-ionic/commit/a9ef0d73c116dd1b33a7f80716e8c5edce36c87e)) -* update transpile ([619518f](https://github.com/danielroe/nuxt-ionic/commit/619518f68129eda830483d18e22dd10d27935a16)) -* use `useRoute` and `useRouter` from `vue-router ` ([1aec323](https://github.com/danielroe/nuxt-ionic/commit/1aec323da99c89bea447125592a3eb2ec5723d2e)) +* remove prerendering workaround ([3b18f8f](https://github.com/nuxt-modules/ionic/commit/3b18f8f609cf159ee77f927fc26efc1e6bbd87ef)) +* transpile `ionicons` ([a9ef0d7](https://github.com/nuxt-modules/ionic/commit/a9ef0d73c116dd1b33a7f80716e8c5edce36c87e)) +* update transpile ([619518f](https://github.com/nuxt-modules/ionic/commit/619518f68129eda830483d18e22dd10d27935a16)) +* use `useRoute` and `useRouter` from `vue-router ` ([1aec323](https://github.com/nuxt-modules/ionic/commit/1aec323da99c89bea447125592a3eb2ec5723d2e)) -## [0.4.0](https://github.com/danielroe/nuxt-ionic/compare/0.3.1...0.4.0) (2022-08-17) +## [0.4.0](https://github.com/nuxt-modules/ionic/compare/0.3.1...0.4.0) (2022-08-17) ### Features -* add option and interface for `@ionic/vue` global config ([#38](https://github.com/danielroe/nuxt-ionic/issues/38)) ([7df1aae](https://github.com/danielroe/nuxt-ionic/commit/7df1aaef29229c358772f79a1c4366c7f687b4e9)) +* add option and interface for `@ionic/vue` global config ([#38](https://github.com/nuxt-modules/ionic/issues/38)) ([7df1aae](https://github.com/nuxt-modules/ionic/commit/7df1aaef29229c358772f79a1c4366c7f687b4e9)) -## [0.3.1](https://github.com/danielroe/nuxt-ionic/compare/0.3.0...0.3.1) (2022-08-15) +## [0.3.1](https://github.com/nuxt-modules/ionic/compare/0.3.0...0.3.1) (2022-08-15) ### Bug Fixes -* transpile `[@stencil](https://github.com/stencil)` deps ([f02ef6a](https://github.com/danielroe/nuxt-ionic/commit/f02ef6af00e77ef7e38308375bb16be4da35035b)), closes [#33](https://github.com/danielroe/nuxt-ionic/issues/33) +* transpile `[@stencil](https://github.com/stencil)` deps ([f02ef6a](https://github.com/nuxt-modules/ionic/commit/f02ef6af00e77ef7e38308375bb16be4da35035b)), closes [#33](https://github.com/nuxt-modules/ionic/issues/33) -## [0.3.0](https://github.com/danielroe/nuxt-ionic/compare/0.2.2...0.3.0) (2022-07-28) +## [0.3.0](https://github.com/nuxt-modules/ionic/compare/0.2.2...0.3.0) (2022-07-28) ### Features -* :sparkles: add interface for accessing ionic icons ([#27](https://github.com/danielroe/nuxt-ionic/issues/27)) ([9cd2417](https://github.com/danielroe/nuxt-ionic/commit/9cd2417596ea6f2a3409aefae2feb86c31188f28)) -* upgrade to new version of `nuxt-pwa-module` ([#25](https://github.com/danielroe/nuxt-ionic/issues/25)) ([04fae3e](https://github.com/danielroe/nuxt-ionic/commit/04fae3e25fe8d7d6ba51bfe0f13ed44d74aa8bd0)) +* :sparkles: add interface for accessing ionic icons ([#27](https://github.com/nuxt-modules/ionic/issues/27)) ([9cd2417](https://github.com/nuxt-modules/ionic/commit/9cd2417596ea6f2a3409aefae2feb86c31188f28)) +* upgrade to new version of `nuxt-pwa-module` ([#25](https://github.com/nuxt-modules/ionic/issues/25)) ([04fae3e](https://github.com/nuxt-modules/ionic/commit/04fae3e25fe8d7d6ba51bfe0f13ed44d74aa8bd0)) ### Bug Fixes -* add `ionicons` dependency ([8a1a6bd](https://github.com/danielroe/nuxt-ionic/commit/8a1a6bd726c59cd5922cf8cf921b14edc74f45d2)) +* add `ionicons` dependency ([8a1a6bd](https://github.com/nuxt-modules/ionic/commit/8a1a6bd726c59cd5922cf8cf921b14edc74f45d2)) -## [0.2.2](https://github.com/danielroe/nuxt-ionic/compare/0.2.1...0.2.2) (2022-06-23) +## [0.2.2](https://github.com/nuxt-modules/ionic/compare/0.2.1...0.2.2) (2022-06-23) ### Bug Fixes -* correct viewport meta tag ([cfd2d90](https://github.com/danielroe/nuxt-ionic/commit/cfd2d906686f4eddcc3481e83d4e8e35fd80c6d4)), closes [#15](https://github.com/danielroe/nuxt-ionic/issues/15) -* remove extraneous div wrapper ([9cdf360](https://github.com/danielroe/nuxt-ionic/commit/9cdf3608226b9969add5fd3866530f5af82a844b)) -* remove hard-coded `md` class ([a7f8ab4](https://github.com/danielroe/nuxt-ionic/commit/a7f8ab48aaf4e5de11f73fe0f920ceb6aa2aa0ec)), closes [#12](https://github.com/danielroe/nuxt-ionic/issues/12) -* type error ([020fff2](https://github.com/danielroe/nuxt-ionic/commit/020fff23d6b36f37d9c14cbd5e850e925b3472f2)) -* use `app:resolve` for latest possible exclusion of vue router ([064cf49](https://github.com/danielroe/nuxt-ionic/commit/064cf49df2c22c53d33a0d736e447acbbed43af7)) +* correct viewport meta tag ([cfd2d90](https://github.com/nuxt-modules/ionic/commit/cfd2d906686f4eddcc3481e83d4e8e35fd80c6d4)), closes [#15](https://github.com/nuxt-modules/ionic/issues/15) +* remove extraneous div wrapper ([9cdf360](https://github.com/nuxt-modules/ionic/commit/9cdf3608226b9969add5fd3866530f5af82a844b)) +* remove hard-coded `md` class ([a7f8ab4](https://github.com/nuxt-modules/ionic/commit/a7f8ab48aaf4e5de11f73fe0f920ceb6aa2aa0ec)), closes [#12](https://github.com/nuxt-modules/ionic/issues/12) +* type error ([020fff2](https://github.com/nuxt-modules/ionic/commit/020fff23d6b36f37d9c14cbd5e850e925b3472f2)) +* use `app:resolve` for latest possible exclusion of vue router ([064cf49](https://github.com/nuxt-modules/ionic/commit/064cf49df2c22c53d33a0d736e447acbbed43af7)) -## [0.2.1](https://github.com/danielroe/nuxt-ionic/compare/0.2.0...0.2.1) (2022-06-22) +## [0.2.1](https://github.com/nuxt-modules/ionic/compare/0.2.0...0.2.1) (2022-06-22) ### Bug Fixes -* use pwa module for ios splash screen ([686ba68](https://github.com/danielroe/nuxt-ionic/commit/686ba687650b35a47b1997537d2508a113578f29)) +* use pwa module for ios splash screen ([686ba68](https://github.com/nuxt-modules/ionic/commit/686ba687650b35a47b1997537d2508a113578f29)) -## [0.2.0](https://github.com/danielroe/nuxt-ionic/compare/0.1.3...0.2.0) (2022-06-21) +## [0.2.0](https://github.com/nuxt-modules/ionic/compare/0.1.3...0.2.0) (2022-06-21) ### Features -* create `ionic.config.json` if it doesn't already exist ([3d8e84a](https://github.com/danielroe/nuxt-ionic/commit/3d8e84a0b0ff9e46cd9e970b012dfc14228b47d1)) -* install capacitor packages by default ([3f3e247](https://github.com/danielroe/nuxt-ionic/commit/3f3e2473aabe4af96f325e4e3ae39b50535fa81e)) +* create `ionic.config.json` if it doesn't already exist ([3d8e84a](https://github.com/nuxt-modules/ionic/commit/3d8e84a0b0ff9e46cd9e970b012dfc14228b47d1)) +* install capacitor packages by default ([3f3e247](https://github.com/nuxt-modules/ionic/commit/3f3e2473aabe4af96f325e4e3ae39b50535fa81e)) ### Bug Fixes -* disable router integration if `pages/` is missing ([d3e3eb6](https://github.com/danielroe/nuxt-ionic/commit/d3e3eb6674fbadf9e1b34deb4279b1aabf936f79)), closes [#10](https://github.com/danielroe/nuxt-ionic/issues/10) +* disable router integration if `pages/` is missing ([d3e3eb6](https://github.com/nuxt-modules/ionic/commit/d3e3eb6674fbadf9e1b34deb4279b1aabf936f79)), closes [#10](https://github.com/nuxt-modules/ionic/issues/10) -## [0.1.3](https://github.com/danielroe/nuxt-ionic/compare/0.1.2...0.1.3) (2022-06-19) +## [0.1.3](https://github.com/nuxt-modules/ionic/compare/0.1.2...0.1.3) (2022-06-19) ### Bug Fixes -* always generate `/` route ([cfe155f](https://github.com/danielroe/nuxt-ionic/commit/cfe155f7dc63e06aa792fbe17088981ce21969a4)) +* always generate `/` route ([cfe155f](https://github.com/nuxt-modules/ionic/commit/cfe155f7dc63e06aa792fbe17088981ce21969a4)) -## [0.1.2](https://github.com/danielroe/nuxt-ionic/compare/0.1.1...0.1.2) (2022-06-18) +## [0.1.2](https://github.com/nuxt-modules/ionic/compare/0.1.1...0.1.2) (2022-06-18) ### Bug Fixes -* generate full paths for nested routes ([d8b3f68](https://github.com/danielroe/nuxt-ionic/commit/d8b3f6806a37acf11ac7ba6cced7782ebd68a22e)) +* generate full paths for nested routes ([d8b3f68](https://github.com/nuxt-modules/ionic/commit/d8b3f6806a37acf11ac7ba6cced7782ebd68a22e)) -## [0.1.1](https://github.com/danielroe/nuxt-ionic/compare/0.1.0...0.1.1) (2022-06-18) +## [0.1.1](https://github.com/nuxt-modules/ionic/compare/0.1.0...0.1.1) (2022-06-18) ### Bug Fixes -* disable icon integration on stackblitz ([5bf0fe2](https://github.com/danielroe/nuxt-ionic/commit/5bf0fe2546055531a6988413140980901884eb3e)) +* disable icon integration on stackblitz ([5bf0fe2](https://github.com/nuxt-modules/ionic/commit/5bf0fe2546055531a6988413140980901884eb3e)) -## [0.1.0](https://github.com/danielroe/nuxt-ionic/compare/0.0.3...0.1.0) (2022-06-18) +## [0.1.0](https://github.com/nuxt-modules/ionic/compare/0.0.3...0.1.0) (2022-06-18) ### Features -* add more ionic hooks ([1147ffe](https://github.com/danielroe/nuxt-ionic/commit/1147ffe4f62035a6bf0ffaf313151c4c49221bbe)) -* add pwa and meta tag configuration ([c5fad7e](https://github.com/danielroe/nuxt-ionic/commit/c5fad7ea06092d82e27f38f33bce3c54c52fc15b)) -* pre-render all non-dynamic pages ([21e765f](https://github.com/danielroe/nuxt-ionic/commit/21e765f17fcba8fd0129efe1f80cadf51bfbd214)) +* add more ionic hooks ([1147ffe](https://github.com/nuxt-modules/ionic/commit/1147ffe4f62035a6bf0ffaf313151c4c49221bbe)) +* add pwa and meta tag configuration ([c5fad7e](https://github.com/nuxt-modules/ionic/commit/c5fad7ea06092d82e27f38f33bce3c54c52fc15b)) +* pre-render all non-dynamic pages ([21e765f](https://github.com/nuxt-modules/ionic/commit/21e765f17fcba8fd0129efe1f80cadf51bfbd214)) -## [0.0.3](https://github.com/danielroe/nuxt-ionic/compare/0.0.2...0.0.3) (2022-06-17) +## [0.0.3](https://github.com/nuxt-modules/ionic/compare/0.0.2...0.0.3) (2022-06-17) ### Bug Fixes -* add ionic router to `optimizeDeps` ([27ed559](https://github.com/danielroe/nuxt-ionic/commit/27ed55944fea65bfdfd8e0edcb3f87351f9c39b5)) -* use app baseURL for configuring ion router ([5ae2e0d](https://github.com/danielroe/nuxt-ionic/commit/5ae2e0d186a58a377248ef0f7accb8eecd4ca9bd)) +* add ionic router to `optimizeDeps` ([27ed559](https://github.com/nuxt-modules/ionic/commit/27ed55944fea65bfdfd8e0edcb3f87351f9c39b5)) +* use app baseURL for configuring ion router ([5ae2e0d](https://github.com/nuxt-modules/ionic/commit/5ae2e0d186a58a377248ef0f7accb8eecd4ca9bd)) -## [0.0.2](https://github.com/danielroe/nuxt-ionic/compare/0.0.1...0.0.2) (2022-06-17) +## [0.0.2](https://github.com/nuxt-modules/ionic/compare/0.0.1...0.0.2) (2022-06-17) ### Bug Fixes -* explicitly import nuxt composables ([351c7f9](https://github.com/danielroe/nuxt-ionic/commit/351c7f9ca34e12a11d9f98530bec53ce317fd267)) \ No newline at end of file +* explicitly import nuxt composables ([351c7f9](https://github.com/nuxt-modules/ionic/commit/351c7f9ca34e12a11d9f98530bec53ce317fd267)) diff --git a/README.md b/README.md index fce22529..0b9b1925 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![nuxt-ionicstrapi](./docs/public/cover.jpg)](https://ionic.roe.dev) +[![@nuxtjs/ionic](./docs/public/cover.jpg)](https://ionic.nuxtjs.org) # Nuxt Ionic @@ -9,13 +9,13 @@ > [Ionic](https://ionicframework.com/docs/) integration for [Nuxt](https://nuxtjs.org) -- [✨  Changelog](https://github.com/danielroe/nuxt-ionic/blob/main/CHANGELOG.md) -- [📖  Read the documentation](https://ionic.roe.dev) -- [▶️  Online playground](https://stackblitz.com/github/danielroe/nuxt-ionic/tree/main/playground) +- [✨  Changelog](https://github.com/nuxt-modules/ionic/blob/main/CHANGELOG.md) +- [📖  Read the documentation](https://ionic.nuxtjs.org) +- [▶️  Online playground](https://stackblitz.com/github/nuxt-modules/ionic/tree/main/playground) ## Features -**⚠️ `nuxt-ionic` is currently a work in progress. ⚠️** +**⚠️ `@nuxtjs/ionic` is currently a work in progress. ⚠️** - Zero-config required - Auto-import Ionic components, composables and icons @@ -27,11 +27,11 @@ **In progress** -- [ ] PWA Elements [#14](https://github.com/danielroe/nuxt-ionic/issues/14) +- [ ] PWA Elements [#14](https://github.com/nuxt-modules/ionic/issues/14) ## Usage -👉 Check out https://ionic.roe.dev. +👉 Check out https://ionic.nuxtjs.org. ## 💻 Development @@ -49,11 +49,11 @@ Published under the [MIT License](./LICENCE). -[npm-version-src]: https://img.shields.io/npm/v/nuxt-ionic?style=flat-square -[npm-version-href]: https://npmjs.com/package/nuxt-ionic -[npm-downloads-src]: https://img.shields.io/npm/dm/nuxt-ionic?style=flat-square -[npm-downloads-href]: https://npmjs.com/package/nuxt-ionic -[github-actions-src]: https://img.shields.io/github/workflow/status/danielroe/nuxt-ionic/ci/main?style=flat-square -[github-actions-href]: https://github.com/danielroe/nuxt-ionic/actions?query=workflow%3Aci -[codecov-src]: https://img.shields.io/codecov/c/gh/danielroe/nuxt-ionic/main?style=flat-square -[codecov-href]: https://codecov.io/gh/danielroe/nuxt-ionic +[npm-version-src]: https://img.shields.io/npm/v/@nuxtjs/ionic?style=flat-square +[npm-version-href]: https://npmjs.com/package/@nuxtjs/ionic +[npm-downloads-src]: https://img.shields.io/npm/dm/@nuxtjs/ionic?style=flat-square +[npm-downloads-href]: https://npmjs.com/package/@nuxtjs/ionic +[github-actions-src]: https://img.shields.io/github/workflow/status/nuxt-modules/ionic/ci/main?style=flat-square +[github-actions-href]: https://github.com/nuxt-modules/ionic/actions?query=workflow%3Aci +[codecov-src]: https://img.shields.io/codecov/c/gh/nuxt-modules/ionic/main?style=flat-square +[codecov-href]: https://codecov.io/gh/nuxt-modules/ionic diff --git a/docs/content/1.index.md b/docs/content/1.index.md index 757508a4..cfbaae5f 100755 --- a/docs/content/1.index.md +++ b/docs/content/1.index.md @@ -11,8 +11,8 @@ cta: - /getting-started secondary: - Open on GitHub → - - https://github.com/danielroe/nuxt-ionic -snippet: yarn add --dev nuxt-ionic + - https://github.com/nuxt-modules/ionic +snippet: yarn add --dev @nuxtjs/ionic --- #title diff --git a/docs/content/2.getting-started.md b/docs/content/2.getting-started.md index e978c771..e5d7748d 100644 --- a/docs/content/2.getting-started.md +++ b/docs/content/2.getting-started.md @@ -5,20 +5,20 @@ description: 'Download & install Ionic and setup Capacitor for usage' ## Installation -Add `nuxt-ionic` to your project's dev dependencies: +Add `@nuxtjs/ionic` to your project's dev dependencies: ::code-group ```bash [yarn] -yarn add --dev nuxt-ionic +yarn add --dev @nuxtjs/ionic ``` ```bash [npm] -npm install nuxt-ionic -D +npm install @nuxtjs/ionic -D ``` ```bash [pnpm] -pnpm install nuxt-ionic -D +pnpm install @nuxtjs/ionic -D ``` :: @@ -27,7 +27,7 @@ Then add the module to your Nuxt configuration: ```js{}[nuxt.config] export default defineNuxtConfig({ - modules: ['nuxt-ionic'] + modules: ['@nuxtjs/ionic'] }) ``` @@ -36,14 +36,14 @@ Finally, either remove your `app.vue` file or replace it with a custom one (star You're good to go! ::alert{type=info} -The first time you start a Nuxt project with `nuxt-ionic` enabled, a `ionic.config.json` file will be created if it doesn't already exist. +The first time you start a Nuxt project with `@nuxtjs/ionic` enabled, a `ionic.config.json` file will be created if it doesn't already exist. :: ## Enabling Capacitor [Capacitor](https://capacitorjs.com/) is a powerful tool for shipping to native platforms like iOS and Android alongside your web app. -The good news is that it's installed by default with `nuxt-ionic`, but you will need to enable it and choose what platforms you want to support. +The good news is that it's installed by default with `@nuxtjs/ionic`, but you will need to enable it and choose what platforms you want to support. ```bash npx @ionic/cli integrations enable capacitor # or yarn ionic integrations add capacitor @@ -63,7 +63,7 @@ While not required, you can configure the features that are enabled: ```js export default defineNuxtConfig({ - modules: ['nuxt-ionic'], + modules: ['@nuxtjs/ionic'], ionic: { integrations: { // diff --git a/docs/content/3.features.md b/docs/content/3.features.md index b0583037..bd4829d5 100644 --- a/docs/content/3.features.md +++ b/docs/content/3.features.md @@ -58,7 +58,7 @@ To learn more about theming and which variables to override, check out Ionic's [ All Ionic Vue components should be auto-imported throughout your app. (If you find one that isn't, please open an issue.) Although your IDE should be aware of these everywhere, they are not globally registered and are only imported within the components that use them. For more on how component imports work, see the [Nuxt documentation](https://v3.nuxtjs.org/guide/directory-structure/components#components-directory). ::alert{type=info} -If you find a component that isn't being auto-imported, please open an issue or a pull request. If you're thinking of latter option, please do so in [alphabetical order](https://github.com/danielroe/nuxt-ionic/blob/main/src/module.ts#L188-L191) for making it easy for others to find the component as well! +If you find a component that isn't being auto-imported, please open an issue or a pull request. If you're thinking of latter option, please do so in [alphabetical order](https://github.com/nuxt-modules/ionic/blob/main/src/module.ts#L188-L191) for making it easy for others to find the component as well! :: ## Module utility components @@ -67,7 +67,7 @@ Module also offers few components made for easier and more seamless way to integ ### `IonAnimation` component -Component made specifically to make usage of Ionic's `createAnimation` easier. It has almost 1 to 1 props matching as your usual animation object. For more see [official Ionic docs](https://ionicframework.com/docs/utilities/animations) or check out [playground examples](https://github.com/danielroe/nuxt-ionic/blob/main/playground/pages/tabs/tab4.vue) +Component made specifically to make usage of Ionic's `createAnimation` easier. It has almost 1 to 1 props matching as your usual animation object. For more see [official Ionic docs](https://ionicframework.com/docs/utilities/animations) or check out [playground examples](https://github.com/nuxt-modules/ionic/blob/main/playground/pages/tabs/tab4.vue) You can see how it replaces usage of regular `createAnimation` function in the code example below: @@ -168,4 +168,4 @@ This is the default: -``` \ No newline at end of file +``` diff --git a/docs/content/_theme.yml b/docs/content/_theme.yml index b76f3bbc..1aecd331 100644 --- a/docs/content/_theme.yml +++ b/docs/content/_theme.yml @@ -2,13 +2,13 @@ title: nuxt/ionic layout: docs -url: "https://ionic.roe.dev/" +url: "https://ionic.nuxtjs.org/" description: Batteries-included Ionic integration for Nuxt. socials: twitter: "danielcroe" - github: "danielroe/nuxt-ionic" + github: "nuxt-modules/ionic" cover: src: /cover.jpg diff --git a/docs/nuxt.config.ts b/docs/nuxt.config.ts index dde3eb35..0749d09a 100755 --- a/docs/nuxt.config.ts +++ b/docs/nuxt.config.ts @@ -1,17 +1,16 @@ -import { defineNuxtConfig } from 'nuxt' +import { defineNuxtConfig } from 'nuxt/config' export default defineNuxtConfig({ extends: ['./node_modules/@docus/docs-theme'], build: { transpile: [/dist\/runtime/] }, github: { - owner: 'danielroe', - repo: 'nuxt-ionic', + owner: 'nuxt-modules', + repo: 'ionic', branch: 'main', }, - theme: {}, modules: ['@nuxthq/admin', '@docus/github', 'vue-plausible'], plausible: { - domain: 'ionic.roe.dev', + domain: 'ionic.nuxtjs.org', }, tailwindcss: { config: { diff --git a/docs/package.json b/docs/package.json index f72664d7..13d4029f 100755 --- a/docs/package.json +++ b/docs/package.json @@ -1,7 +1,7 @@ { "name": "nuxt-ionic-docs", "description": "Batteries-included Ionic integration for Nuxt.", - "homepage": "https://github.com/danielroe/nuxt-ionic/", + "homepage": "https://github.com/nuxt-modules/ionic/", "scripts": { "dev": "nuxi dev", "build": "nuxi build", diff --git a/package.json b/package.json index d3dd7aed..8e6c861b 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "nuxt-ionic", + "name": "@nuxtjs/ionic", "version": "0.7.0", "license": "MIT", - "repository": "danielroe/nuxt-ionic", + "repository": "nuxt-modules/ionic", "description": "Ionic integration for Nuxt", "keywords": [ "nuxt", @@ -92,7 +92,7 @@ "vue": "^3.2.41" }, "resolutions": { - "nuxt-ionic": "link:." + "@nuxtjs/ionic": "link:." }, "packageManager": "pnpm@7.13.5", "volta": { diff --git a/playground/nuxt.config.ts b/playground/nuxt.config.ts index e847d8b2..42a12549 100644 --- a/playground/nuxt.config.ts +++ b/playground/nuxt.config.ts @@ -1,7 +1,7 @@ import { defineNuxtConfig } from 'nuxt' export default defineNuxtConfig({ - modules: ['nuxt-ionic'], + modules: ['@nuxtjs/ionic'], ionic: { // integrations: { // icons: true, diff --git a/playground/package.json b/playground/package.json index 9bc6b0b7..1becbc6c 100644 --- a/playground/package.json +++ b/playground/package.json @@ -12,6 +12,6 @@ "@capacitor/filesystem": "^4.1.2", "@capacitor/storage": "^1.2.5", "nuxt": "^3.0.0-rc.11", - "nuxt-ionic": "latest" + "@nuxtjs/ionic": "latest" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a962a5fe..fafc8055 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,7 +1,7 @@ lockfileVersion: 5.4 overrides: - nuxt-ionic: link:. + '@nuxtjs/ionic': link:. importers: @@ -97,14 +97,14 @@ importers: '@capacitor/camera': ^4.1.2 '@capacitor/filesystem': ^4.1.2 '@capacitor/storage': ^1.2.5 + '@nuxtjs/ionic': link:.. nuxt: ^3.0.0-rc.11 - nuxt-ionic: link:.. devDependencies: '@capacitor/camera': 4.1.2 '@capacitor/filesystem': 4.1.2 '@capacitor/storage': 1.2.5 + '@nuxtjs/ionic': link:.. nuxt: 3.0.0-rc.11 - nuxt-ionic: link:.. packages: @@ -3916,7 +3916,7 @@ packages: dev: true /ee-first/1.1.1: - resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} + resolution: {integrity: sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=} dev: true /electron-to-chromium/1.4.256: @@ -7275,7 +7275,7 @@ packages: dev: true /media-typer/0.3.0: - resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} + resolution: {integrity: sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=} engines: {node: '>= 0.6'} dev: true diff --git a/src/module.ts b/src/module.ts index 8ba57b24..dd9b7416 100644 --- a/src/module.ts +++ b/src/module.ts @@ -65,12 +65,12 @@ export interface ModuleOptions { statusTap?: boolean swipeBackEnabled?: boolean tabButtonLayout?: - | 'icon-top' - | 'icon-start' - | 'icon-end' - | 'icon-bottom' - | 'icon-hide' - | 'label-hide' + | 'icon-top' + | 'icon-start' + | 'icon-end' + | 'icon-bottom' + | 'icon-hide' + | 'label-hide' toastEnter?: AnimationBuilder toastLeave?: AnimationBuilder } @@ -78,7 +78,7 @@ export interface ModuleOptions { export default defineNuxtModule({ meta: { - name: 'nuxt-ionic', + name: '@nuxtjs/ionic', configKey: 'ionic', }, defaults: { @@ -95,7 +95,7 @@ export default defineNuxtModule({ }, config: {}, }, - async setup(options, nuxt) { + async setup (options, nuxt) { nuxt.options.build.transpile.push(runtimeDir) nuxt.options.build.transpile.push(/@ionic/, /@stencil/)