0.0.3 ā€¢ Published 5 years ago

@guivic/metadata-module v0.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

šŸ“¦ 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