nuxt-swapi

A nuxt module for Star Wars API
699
Install
npm install nuxt-swapi
Latest Version:1.0.31
Vue:3
License:MIT
Last Updated:Oct 31, 2023
Links: GitHub  ·  npm
Maintainer: pierre10101

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

Version History

Version Released Vue License
1.0.31 ^3.0 MIT
1.0.30 ^3.0 MIT
1.0.29 ^3.0 MIT
1.0.28 ^3.0 MIT
1.0.27 ^3.0 MIT