/fine-nuxt-tools

Various helpers + config abstraction for Nuxt applications @wearefine

Primary LanguageJavaScript

🔗 NPM Package

FINE Nuxt Tools

Various tools for working with Nuxt applications @wearefine

Installation

  1. yarn add fine-nuxt-tools or npm i fine-nuxt-tools

Usage

Provided functions + packages:

example.js

import { basicAuthHeader } from 'fine-nuxt-tools'

let authHeader = basicAuthHeader('blah:blub')
console.log(authHeader) // 'Basic YmxhaDpibHVi'

Talk about code

Options

Talk about options, exports:

// ...

TODO

NuxtConfigBuilder

  • Pull standardized auth, proxy, and apollo config from Nuxt codebases
  • Add error checking to ensure required environmentVarLookups are present
  • Add error reporting / trycatch to various levels of config generation
  • Add dotnev-flow as dev-dep, .env, and a mock test case in test/index.js