Just a simple integration for useless-blobs
in Nuxt
- A <
UselessBlob
/> component — this renders the blob
- Add
nuxt-useless-blobs
dependency to your project
# Using pnpm
pnpm add -D nuxt-useless-blobs
# Using yarn
yarn add --dev nuxt-useless-blobs
# Using npm
npm install --save-dev nuxt-useless-blobs
- Add
nuxt-useless-blobs
to themodules
section ofnuxt.config.ts
export default defineNuxtConfig({
modules: ["nuxt-useless-blobs"],
});
That's it! You can now use nuxt-useless-blobs
in your Nuxt app ✨
This module exposes a <UselessBlob />
component that you can use in your Nuxt app.
<template>
<!-- This uses the default values -->
<UselessBlob />
</template>
Note: This also accepts props, for more information refer to the component types or here
# Install dependencies
pnpm install
# Generate type stubs
pnpm dev:prepare
# Develop with the playground
pnpm dev
# Build the playground
pnpm dev:build
# Run ESLint
pnpm lint
# Release new version
pnpm release