wearefine / fine-nuxt-tools

Various helpers + config abstraction for Nuxt applications @wearefine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

đź”— 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

About

Various helpers + config abstraction for Nuxt applications @wearefine


Languages

Language:JavaScript 100.0%