0.0.4 • Published 3 years ago

gov-auth-button v0.0.4

Weekly downloads
1
License
MIT
Repository
-
Last release
3 years ago

A minimal starter app, based on the Getting Started guide, combining Stencil and Tailwind CSS. The repository was created following the excellent Stencil example provided by Jag Reehal.

Configuration

Tailwind CSS

The original components have been modified to leverage Tailwind CSS utility classes, applied in the corresponding component *.css file. To use inline classes in the *.html, the shadow option must be set to false.

ESLint

Linting is configured to use the additional rules from @stencil/eslint-plugin. Because this package seems to be based on eslint-plugin-react, a react version setting has been provided in .eslintrc.json to avoid any warnings.

Develop

Clone and Setup

git clone git@github.com:davelsan/stencil-tailwind-starter.git
npm install

Command Cheatsheet

npm run build      # build for deployment
npm run generate   # generate new component
npm run lint       # lint and fix code
npm run serve      # build and serve for development
npm run test:unit  # run unit tests
npm run test:watch # run unit tests and watch for changes
npm run test:e2e   # run end-to-end tests
0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago