1.0.11 • Published 6 months ago

@upstash/react-cli v1.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

Upstash Redis CLI

1. Install

$ npm install @upstash/react-cli

2. Add a client component in your app:

// /app/components/cli.tsx

"use client"
import { RedisCli } from "@upstash/react-cli";

import "@upstash/react-cli/dist/index.css";


<div
        style={{
          width: "100%",
          height: "100%",
          maxWidth: "48rem",
          maxHeight: "32rem",
        }}
      >
  <RedisCli url="UPSTASH_REDIS_REST_URL" token="UPSTASH_REDIS_REST_TOKEN" />;
</div>

With Tailwind CSS

If you already have a tailwindcss toolchain, you can omit the css import and add the library to your tailwind config file:

// tailwind.config.js

module.exports = {
  content: [
    // ...
    "./node_modules/@upstash/react-cli/**/*.js", // <--  add this line
  ],
  //...
}
1.0.11

6 months ago

1.0.10

7 months ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.8.0

1 year ago

0.7.3

1 year ago

0.7.2

1 year ago

0.7.1

1 year ago

0.7.0

1 year ago

0.6.0

1 year ago

0.5.0

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.0.0-canary.1

1 year ago

0.0.0-canary.0

1 year ago