1.0.10 • Published 3 years ago

@asdougl/components v1.0.10

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Asdougl Components

Mostly a test project for setting up a component library on NPM.

Install

npm i @asdougl/components

Tailwind CSS Projects

Include in tailwind purge to ensure component styles are added, e.g.

module.exports = {
  purge: [
    './src/**/*.{js,jsx,ts,tsx}',
    './public/index.html',
    './node_modules/\\@asdougl/components/dist/**/*.js',
  ],
  ...everythingElse,
}

Non-Tailwind CSS Projects

This implementation is not recommended however you can try and implement this. You'll need to include the compiled tailwind classes in your entry point (index.js, index.ts, renderer.js, etc.), as such:

import '@asdougl/components/dist/index.css'

Please note this does not include any of the tailwind css base class, so there is no guarantee this will work with your environment. The classes may also conflict with your existing styles, especially if you use a library like bootstrap.

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago