UNPKG

v-ingredients

Version:

Reusable Components

56 lines (39 loc) 1.45 kB
# Dev Ingredients This repository contains all components created for reusable components project. ## Installation ```bash npm install -S v-ingredients ``` ### Getting ready for nuxt When you are using `v-ingredients` with nuxt first you should create new file in `plugins` directory, let's name it `v-ingredients.js`. To the file copy paste code that you can see below. ```javascript // plugins/v-ingredients.js import Vue from 'vue'; import components from 'v-ingredients'; Vue.use(components) ``` Once you do that, add new file to your `nuxt.config.js` as ```javascript // nuxt.config.js { // ... plugins: [ // ... '@plugins/v-ingredients.js' // ... ] // ... } ``` Now you should have access to all components in your nuxt project. ## Changelog Check changelog to see who you should blame for 💩 code! - [CHANGELOG](changelog.md) ## Available Components You can find more about components [in here.](src/components/) ## Import Interfaces To import interfaces you can recall from the main project to `v-ingredients/interfaces` where you can find all of our interfaces in one place. [Check more](/interfaces) ## Import Types Same as in case of interfaces you are able to call `v-ingedients/types` where are located all our types. [Check more](/types) ## Styles To learn more about styles, check assets directory. [LINK](/src/assets)