rasor / stncl-ensure

Solving some TestDome web tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Testing HTML5 / CSS3 / TypeScript from Tests | TestDome

Alternative sandbox:

App Template: Stencil App Starter

Stencil is a compiler for building fast web apps using Web Components.

Stencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time tool. Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components that run in any browser supporting the Custom Elements v1 spec.

Stencil components are just Web Components, so they work in any major framework or with no framework at all. In many cases, Stencil can be used as a drop in replacement for traditional frontend frameworks given the capabilities now available in the browser, though using it as such is certainly not required.

Stencil also enables a number of key capabilities on top of Web Components, in particular Server Side Rendering (SSR) without the need to run a headless browser, pre-rendering, and objects-as-properties (instead of just strings).

Getting Started

To start a new project using Stencil, clone this repo to a new directory:

git clone https://github.com/ionic-team/stencil-app-starter stncl-ensure
cd stncl-ensure

# notice you are connected to original origin
git remote -v
# origin  https://github.com/ionic-team/stencil-app-starter (fetch)

# Create a new git repo e.g. on github

# disconnect from old origin and connect to your new origin
git remote set-url origin https://github.com/rasor/stncl-ensure.git

# notice you are now connected to your own origin
git remote -v
# origin  https://github.com/rasor/stncl-ensure.git (fetch)

and run:

npm install
npm start
# http://localhost:3333/ will open in your browser

To build the app for production, run:

npm run build

To run the unit tests once, run:

npm test

To run the unit tests and watch for file changes during development, run:

npm run test.watch

About

Solving some TestDome web tests

License:MIT License


Languages

Language:TypeScript 82.9%Language:CSS 10.9%Language:HTML 6.2%