gov-auth-button
v0.0.4
Published
Government infrastructure for the Internet
Downloads
6
Readme
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 [email protected]: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