Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 909 Bytes

README.md

File metadata and controls

39 lines (24 loc) · 909 Bytes

web-components-ssr-workshop

Edit on StackBlitz ⚡️

Supporting blog post on dev.to.

This is the finished codebase, for the starter code visit this repository.

Installation

This repository uses Lerna and Nx.

For the code to run, you need to generate a token for the Github API.

Open packages/client/src/view/post/index.ts and replace {{github_token}} with a token generated from GitHub

npm install

Development

npm run dev

Open a web browser, preferably one that supports Declarative Shadow DOM. Visit http://localhost:4444

Build

npm run build

Serve Production (optimized for performance)

npm run preview