Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nuxthq/studio

Package Overview
Dependencies
Maintainers
8
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxthq/studio

Enhance studio.nuxt.com features as a Nuxt module.

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.8K
decreased by-38.66%
Maintainers
8
Weekly downloads
 
Created
Source

@nuxthq/studio

Enhance studio.nuxt.com features as a Nuxt module.

Installation

yarn add --dev @nuxthq/studio

Then, register the module in your nuxt.config.js:

import { defineNuxtConfig } from 'nuxt'

export default defineNuxtConfig({
  modules: [
    '@nuxthq/studio'
  ]
})

If you want latest updates, please use @nuxthq/studio-edge in your package.json:

{
  "devDependencies": {
    "@nuxthq/studio": "npm:@nuxthq/studio-edge@latest"
  }
}

Usage

The module will expose an studio public runtime config:

const { studio } = useRuntimeConfig().public

studio.apiURL // default: https://api.nuxt.com

It will also expose the /api/_studio/components route to list the project components based on https://github.com/nuxtlabs/nuxt-component-meta.

You can configure the studio API URL by setting it in the .env or as environment variable in production:

NUXT_PUBLIC_STUDIO_API_URL=http://localhost:1337

Keywords

FAQs

Package last updated on 29 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc