Skip to content

newjersey/njwds-components-lit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NJWDS Web Components

Key concepts

  • Yarn: This project uses yarn - creators of the starter kit said it solves dependencies better, it has more functions that npm does not have and is used in other projects. The commands are very similar, don't worry if you haven't seen yarn yet.
  • lit-plugin Is a syntax highlighting, type checking and code completion for lit in VS Code.
  • Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects. See vite.config.ts for build configuration.

Components

  • Button (src/nj-button.ts)
  • Icon (src/nj-icon.ts)

🚀 Dev setup

Note: This repo is forked from the Lit Simple Starter Kit.

Requirements

Local setup

  1. Clone repo
  2. yarn install
  3. yarn build - compiles TS files into JS files in dist/ folder
  4. yarn dev - hosts index.html in web server for live testing
  5. yarn test - runs automated tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •