0.11.0 β€’ Published 4 years ago

nuxt-composition-api v0.11.0

Weekly downloads
301
License
MIT
Repository
github
Last release
4 years ago

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

Note: the main aim is to allow experimentation and feedback before the final release of Nuxt 3. It is not recommended to use this package in production.

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.11.0

4 years ago

0.11.0-beta.0

4 years ago

0.10.6

4 years ago

0.10.4

4 years ago

0.10.5

4 years ago

0.10.3

4 years ago

0.10.2

4 years ago

0.10.0

4 years ago

0.9.3

4 years ago

0.9.2

4 years ago

0.9.1

4 years ago

0.9.0-beta.0

4 years ago

0.9.0

4 years ago

0.8.2

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.5

4 years ago

0.7.5-beta.0

4 years ago

0.7.4-beta.0

4 years ago

0.7.2

4 years ago

0.7.4

4 years ago

0.7.3

4 years ago

0.7.2-static.0

4 years ago

0.7.1

4 years ago

0.7.1-beta.0

4 years ago

0.7.0

4 years ago

0.6.4-beta.0

4 years ago

0.6.3

4 years ago

0.6.2

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.1-beta.1

4 years ago

0.3.1-beta.0

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.0

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago