luixaviles / litelement-website

A Single Page Application(SPA) based on Web Components using LitElement and TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LitElement Website

A Single Page Application(SPA) based on Web Components using LitElement, Vaadin Router for navigation and TypeScript.

Quickstart

To get started, install dependencies:

npm install

Start the preview of the app:

npm run start

This will open your default browser with the App.

Scripts

  • start runs your app for development, reloading on file changes
  • start:build runs your app after it has been built using the build command
  • build builds your app and outputs it in your dist directory
  • test runs your test suite with Karma
  • lint runs the linter for your project

Running Cypress - E2E Testing

First, make sure you're running the application

npm run start

Then, open a separate terminal to run the E2E tests

npm run cypress:open

Or

npm run cypress:run

About

A Single Page Application(SPA) based on Web Components using LitElement and TypeScript

License:MIT License


Languages

Language:TypeScript 82.2%Language:JavaScript 15.6%Language:HTML 2.2%