nuxt-swapi
TypeScript icon, indicating that this package has built-in type declarations

1.0.31 • Public • Published

Module nuxt-swapi

npm version npm downloads License Nuxt

Features

  • The project is typehinted so you can easily use the Star Wars API.
  • See the documentation for more information swapi
  • Full documentation to follow.

Quick Setup

  1. Add nuxt-swapi dependency to your project
# Using pnpm
pnpm add -D nuxt-swapi

# Using yarn
yarn add --dev nuxt-swapi

# Using npm
npm install --save-dev nuxt-swapi
  1. Add nuxt-swapi to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    'nuxt-swapi'
  ]
})

That's it! You can now use nuxt-swapi in your Nuxt app ✨

Development

# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release

Readme

Keywords

none

Package Sidebar

Install

npm i nuxt-swapi

Weekly Downloads

3

Version

1.0.31

License

MIT

Unpacked Size

12.8 kB

Total Files

15

Last publish

Collaborators

  • pierre10101