GithubHelp home page GithubHelp logo

takmar / composition-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nuxt-community/composition-api

0.0 0.0 0.0 5.84 MB

Composition API hooks for Nuxt.

Home Page: https://composition-api.nuxtjs.org

License: MIT License

JavaScript 4.29% TypeScript 79.51% Vue 16.19%

composition-api's Introduction

πŸ—οΈ Nuxt Composition API

Composition API hooks for Nuxt

@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

Read Documentation

Contributors

Contributions are very welcome.

  1. Clone this repo

    git clone [email protected]: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

composition-api's People

Contributors

andoshin11 avatar andrzejewsky avatar antfu avatar axelhzf avatar charlie0228 avatar danielroe avatar dependabot[bot] avatar destaq avatar edumudu avatar filipsobol avatar iamandrewluca avatar jamiecurnow avatar kazupon avatar kolbins avatar mannil avatar mathe42 avatar mathieutu avatar nbili avatar nvitaterna avatar pi0 avatar renovate-bot avatar renovate[bot] avatar satyawikananda avatar seanghay avatar tahul avatar takmar avatar vaiil avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.