TISC Component Library
Install
Install the npm package by running the following code.
npm install @namelessmedia/tisc_nuxt --save-dev
Usage
For the components to be displayed correctly import the css in the nuxt.config.js file with the following code.
css: [
'@namelessmedia/tisc_nuxt/tisc.min.css'
]
plugins: [
'@namelessmedia/tisc_nuxt/tiscPlugin.min.js',
],
Once installed you can import any component from the library using the following code on your vue file.
import { tiscButton } from 'tisc_nuxt';
components: { tiscButton },
Then you can use the component in your template like the following.
<tisc-button color='yellow' colorStyle="outline">button</tisc-button>