litelement-website
litelement-website copied to clipboard
A Single Page Application(SPA) based on Web Components using LitElement and TypeScript
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
startruns your app for development, reloading on file changesstart:buildruns your app after it has been built using the build commandbuildbuilds your app and outputs it in yourdistdirectorytestruns your test suite with Karmalintruns 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