Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.21 KB

README.md

File metadata and controls

56 lines (36 loc) · 1.21 KB

Dub with Nuxt

This example shows how to use Dub with Nuxt.

Getting Started

  1. Add your Dub API key to your .env file:
cp .env.example .env
DUB_API_KEY=p4z...
  1. Install dependencies:
pnpm install
  1. Run the Nuxt dev server:
pnpm run dev
  1. Run the following command in your terminal:
curl --request POST \
  --url http://localhost:3000/api/links

This will create a new link in your Dub workspace and display the API response in the terminal.

Resources

Contributing

Thanks for taking the time to contribute! Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody and are very appreciated.

Please try to create bug reports that are:

  • Reproducible. Include steps to reproduce the problem.
  • Specific. Include as much detail as possible: which version, what environment, etc.
  • Unique. Do not duplicate existing opened issues.
  • Scoped to a Single Bug. One bug per report.

License

MIT License