0.33.17 β€’ Published 9 months ago

daniluk4000-nuxt-composition-api v0.33.17

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@nuxtjs/composition-api provides a way to use the Vue 3 Composition API in with Nuxt-specific features.


Nuxt Bridge has now been released in beta. It has full composition API support and it's strongly recommended to migrate from @nuxtjs/composition-api, if possible, by following the steps in the Bridge migration guide. Feedback welcome at https://github.com/nuxt-community/composition-api/discussions/585.


Features

  • πŸƒ Fetch: Support for the new Nuxt fetch() in v2.12+
  • ℹ️ Context: Easy access to router, app, store within setup()
  • πŸ—ΊοΈ Head: Interact directly with your vue-meta properties within setup()
  • ✨ Automatic hydration: Drop-in replacement for ref with automatic SSR stringification and hydration (ssrRef)
  • πŸ“ SSR support: Allows using the Composition API with SSR
  • πŸ’ͺ TypeScript: Written in TypeScript

Contributors

Contributions are very welcome.

  1. Clone this repo

    git clone git@github.com:nuxt-community/composition-api.git
  2. Install dependencies and build project

    yarn
    # Compile library and watch for changes
    yarn watch
    # Start a test Nuxt fixture with hot reloading
    yarn fixture
    # Test
    yarn test

Tip: You can also use yarn link to test the module locally with your Nuxt project.

License

MIT License - Copyright Β© Daniel Roe

0.33.17

9 months ago

0.33.16

9 months ago

0.33.15

11 months ago

0.33.14

11 months ago

0.33.13

11 months ago

0.33.12

11 months ago

0.33.10

1 year ago

0.33.9

1 year ago

0.33.11

1 year ago

0.33.8

1 year ago

0.33.6

1 year ago

0.33.5

1 year ago

0.33.4

1 year ago

0.33.3

1 year ago

0.33.2

1 year ago