@guivic/metadata-module

0.0.3 • Public • Published

📦 Metadata Module

dependencies status dev-dependencies status Build Status npm version

Easy metadata service system integration with Nuxt.js and Vuex

Features

✓ Exposes set function to easily share metadatas across all components (sharing a color for a theme for expose)

✓ Exposes get function so you can bind reactivity based on a metadata update

Installation

npm install @guivic/metadata-module --save

yarn add @guivic/metadata-module

Usage

// nuxt.config.js

	/*
	** Nuxt.js modules
	*/
	modules: [
		'@guivic/metadata-module',
	]
  

  // component.vue
  $metadata.set({
      key: 'value'
  });
  
  $metadata.get()
  
  // { key: 'value' }

Development

  1. Clone this repository
  2. Install dependencies using yarn or npm install
  3. Start development server using yarn dev or npm run dev

Author

Guillaume Galas from Guivic

📑 License

MIT License

Copyright (c) Guivic

Readme

Keywords

none

Package Sidebar

Install

npm i @guivic/metadata-module

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

3.91 kB

Total Files

5

Last publish

Collaborators

  • guillaume-g
  • lludol