Skip to content

Add nuxt add/rm commands #31

Description

@galvez

So here's a DX idea:

  • nuxt add router: install @nuxtjs/router and update modules section in nuxt.config.js
  • nuxt add http: install @nuxt/http and update modules section in nuxt.config.js

We could use a hash of module slugs for official ones (eliminating the need to prefix with nuxt or nuxtjs) and then defer to npm lookup.

Reserved keywordRepository
nuxt add httpnuxt/http
nuxt add axiosnuxt-community/axios-module
nuxt add pwanuxt-community/pwa-module
nuxt add authnuxt-community/auth-module
nuxt add routernuxt-community/router-module
nuxt add style-resourcesnuxt-community/style-resources-module
nuxt add i18nnuxt-community/nuxt-i18n
nuxt add dotenvnuxt-community/dotenv-module
nuxt add sentrynuxt-community/sentry-module
nuxt add universal-storagenuxt-community/universal-storage
nuxt add sitemapnuxt-community/sitemap-module
nuxt add proxynuxt-community/proxy-module

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions