@ia-ghc/nuxt-components

Shared NuXT components
522
Install
npm install @ia-ghc/nuxt-components
Latest Version:1.1.4
Vue:2
License:MIT
Last Updated:Nov 27, 2020
Links: npm
Maintainer: sasin91

@ia-ghc/components




This repository contains all colors, style variables, typography, shared components and documentation related to how ia-ghc styles it's NuXT projects. It serves as the single source of truth that other NuXT projects should use.

Using

npm install --save-dev @ia-ghc/components

There are two ways of using this package in NuXT, either importing everything using a plugin

import Vue from "vue";
import { install } from "@ia-ghc/nuxt-components";

Vue.use({ install });

or by manually importing as needed.

import { Heading, Logo } from "@ia-ghc/nuxt-components";

Tailwind CSS

in tailwind.config.js you'll want to extend the colors in.

const colors = require("@ia-ghc/nuxt-components/colors");

module.exports = {
  theme: {
    extend: {
      colors,
    },
  },
  // ...
};

Development

  1. Download the repository

  2. Run npm run storybook

  3. Start hacking

  • remember to export components in components.js

Deployment

Simply push to master and update projects using the package!

Related Packages

@scayle/storefront-nuxt

Nuxt integration for the SCAYLE Commerce Engine and Storefront API

152,903
nuxt-tsconfig-stub

Stub Nuxt's generated tsconfig.json at installation

70,835 24
kuranuxt

Look at the Nuxt 3 documentation to learn more.

871 0
nuxt-define

One utility function for module authors to define compiler constants for all bui...

13,412,511
dayjs-nuxt

Day.JS Module for Nuxt

1,986,864 126

Version History

Version Released Vue License
1.1.4 ^2.6.11 MIT
1.1.3 ^2.6.11 MIT
1.1.2 ^2.6.11 MIT
1.1.1 ^2.6.11 MIT
1.1.0 MIT