Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

liveblocks/nuxt-js-examples

Repository files navigation

Deprecated

This repository is deprecated, please use https://github.com/liveblocks/liveblocks/tree/main/examples/nuxtjs-live-avatars for Nuxtjs example.

This repo shows how to use Liveblocks with Nuxt.js.

Getting started

Run examples locally

  • Install all dependencies with npm install
  • Create an account on liveblocks.io
  • Copy your secret key from the administration
  • Create a file named .env and add your Liveblocks secret as environment variable LIVEBLOCKS_SECRET_KEY=sk_test_yourkey
  • Run npm run dev and go to http://localhost:3000

Run examples on CodeSandbox

  • Open this repository on CodeSandbox with this link
  • Create an account on liveblocks.io
  • Copy your secret key from the administration
  • Create secret named LIVEBLOCKS_SECRET_KEY with the secret key you just copied. You need to create an account on CodeSandbox to add an environment variable.
  • Refresh your browser and you should be good to go!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published