Various tools for working with Nuxt applications @wearefine
yarn add fine-nuxt-tools
ornpm i fine-nuxt-tools
Provided functions + packages:
example.js
import { basicAuthHeader } from 'fine-nuxt-tools'
let authHeader = basicAuthHeader('blah:blub')
console.log(authHeader) // 'Basic YmxhaDpibHVi'
Talk about code
Talk about options, exports:
// ...
- 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