@ia-ghc/nuxt-components
@ia-ghc/components
iraqiairways.info styles and design related web assets
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
-
Download the repository
-
Run
npm run storybook -
Start hacking
- remember to export components in components.js
Deployment
Simply push to master and update projects using the package!
Related Packages
nuxt-define
One utility function for module authors to define compiler constants for all bui...
13,412,511
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 | ||
| 1.0.9 | MIT | ||
| 1.0.8 | MIT | ||
| 1.0.7 | MIT | ||
| 1.0.6 | MIT | ||
| 1.0.5 | MIT | ||
| 1.0.4 | MIT | ||
| 1.0.3 | MIT | ||
| 1.0.2 | MIT | ||
| 1.0.1 | MIT | ||
| 1.0.0 | MIT |