This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Angular 8</title> | |
</head> | |
<body> | |
<app-root></app-root> | |
<script src="https://unpkg.com/reflect-metadata@0.1.13/Reflect.js"></script> | |
<script src="https://unpkg.com/zone.js@0.10.3/dist/zone.js"></script> | |
<script src="https://unpkg.com/@reactivex/rxjs@6.5.4/dist/global/rxjs.umd.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>React + Shadow DOM</title> | |
</head> | |
<body style="margin: 0"> | |
<global-navigation> | |
<div slot="breadcrumbContent" style="color: red">Breadcrumbs</div> | |
<div slot="pageContent" style="color: blue">Page Content</div> | |
</global-navigation> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
const app = express(); | |
const port = 3000; | |
app.get('/', (req, res) => { | |
res.setHeader('Content-Type', 'text/html'); | |
res.send(` | |
<form action="/Form.do" method="POST"> | |
<div> | |
<button>Submit the form</button> |
OlderNewer