Introduction

lihbr utils for Nuxt.js

lihbr/utils-nuxt logo lihbr/utils-nuxt logo

@lihbr/utils-nuxt.* are helpers I use across my Nuxt.js projects. To achieve that purpose they are designed to be as agnostic as possible, although being quite opinionated.

Packages

Those packages just got migrated to actual packages and are still pre-major version (v1.x.x). I'll most likely refactor them before releasing a first major and allow myself to publish breaking changes while doing so, therefore if you want to use them as is I highly recommend watching out when upgrading their versions.

Also feel free to inspire from them, submit feedback or questions, or fork this repository~

Modules

Configures vue-meta with all the good stuff: Schema.org, Open Graph, Twitter, etc.

payload

Makes context.payload available in development (sorta).

statistics

Provides some (not much) statistics when using Nuxt.js

Components

Provides a generic link component to stop choosing between anchor tag or nuxt-link.

Miscellaneous

env

Configures an object from available environment variables to quickly setup a Nuxt.js application.

Edit this page on GitHub Updated at Tue, Apr 13, 2021