JSPM

  • Created
  • Published
  • Downloads 147
  • Score
    100M100P100Q113854F
  • License MIT

Module to get setting from WooNuxt Settings plugin installed on WordPress

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (woonuxt-settings) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    WooNuxt Settings Module

    This nuxt module simplt connects to the WooNuxt Settings WordPress plugin and injest them into Nuxt as ENV variables or the publicRuntimeConfig.

    Quick Setup

    1. Add woonuxt-settings dependency to your project
    # Using pnpm
    pnpm add -D woonuxt-settings
    
    # Using yarn
    yarn add --dev woonuxt-settings
    
    # Using npm
    npm install --save-dev woonuxt-settings
    1. Add woonuxt-settings to the modules section of nuxt.config.ts
    export default defineNuxtConfig({
      modules: ["woonuxt-settings"],
    });