atajo-web-componets
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Overview

  • This is a collection of web components reusable across projects and frameworks.

  • It is built with a web component framework called StencilJS - https://stenciljs.com

  • Stencil components are just Web Components, so they work in any major framework or with no framework at all.

  • Currently the following frameworks support the use of these components:

    • Angular 2.+
    • React
    • VueJS
    • Vanilla JS
  • We encourage you to contribute to this repo when you are developing a component that can be useful in other projects

Project Structure

atajo-web-components
│
│   README.md - This file
│   stencil.config.ts - The main stencil config file (see stenciljs.com)
│   tsconfig.json - The main typescript config file
│   typedoc.config.ts - The typedoc config file
│
└───src
│   │   components.d.ts - Auto generated by the Stencil compiler
│   │   index.html - Add and test your components here
│   │
│   └───assets
│   │   └───images - place image assets related to your components here
│   │
│   └───components
│   │   └───atajo - add your composite components here (e.g. atajo-auth)
│   │   └───base - base components (StencilJS wrappers for https://material.io/develop/web/)
│   │
│   └───global - place you global definitions here (shared by components)
│
└───docs - auto generated by running: npm run docs

Getting Started

Clone the repo:

git clone https://git@github.com/BritehouseMobile/atajo-web-components

Install dependencies:

npm install

Run the dev server:

npm start

Run tests:

npm test

Generate docs:

npm run docs

Build for production:

npm run build

Deploy:

npm run deploy

Naming Components

  • We strongly encourage you to use the atajo- prefix when creating a new composite component.
  • Choose a name that fits the function of your component

Using components

TODO

Dependencies (6)

Dev Dependencies (8)

Package Sidebar

Install

npm i atajo-web-componets

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

1.35 MB

Total Files

78

Last publish

Collaborators

  • k1dbl4ck