How to use the @aurelia/jit-html-browser.JitHtmlBrowserConfiguration.createContainer function in @aurelia/jit-html-browser

To help you get started, we’ve selected a few @aurelia/jit-html-browser examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aurelia / aurelia / packages / __tests__ / router / e2e / wizard / src / startup.ts View on Github external
import { Dates } from './components/dates';
import { Email } from './components/email';
import { Header } from './components/header';
import { Inbox } from './components/inbox';
import { Recursive } from './components/recursive';
import { Schedule } from './components/schedule';

import { One } from './components/one';
import { Three } from './components/three';
import { Two } from './components/two';

import { Alpha } from './components/alpha';
import { Beta } from './components/beta';
import { Sub } from './components/sub';

const container = JitHtmlBrowserConfiguration.createContainer();

container.register(
  ViewportCustomElement as any,
  NavCustomElement as any,
  GotoCustomElement as any,
  App as any,
  State as any,
);
registerComponent(
  container,
  AbcComponent as any,
  DefComponent as any,

  Email as any,
  Calendar as any,
  About as any,
github aurelia / aurelia / packages / __tests__ / router / e2e / scope / src / startup.ts View on Github external
import { NavCustomElement, ViewportCustomElement } from '../../../../../router/src/index';
import { GotoCustomElement } from './components/goto';
import { State } from './state';

import { App } from './app';

import { About } from './components/about';
import { Calendar } from './components/calendar';
import { Contacts } from './components/contacts';
import { Dates } from './components/dates';
import { Email } from './components/email';
import { Inbox } from './components/inbox';
import { Recursive } from './components/recursive';
import { Schedule } from './components/schedule';

const container = JitHtmlBrowserConfiguration.createContainer();

container.register(
  ViewportCustomElement as any,
  NavCustomElement as any,
  GotoCustomElement as any,
  App as any,
  State as any,
);
registerComponent(
  container,

  Email as any,
  Calendar as any,
  About as any,
  Contacts as any,
  Inbox as any,

@aurelia/jit-html-browser

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lernajs.io/) [![TypeScript](https://img.shields.io/badge/%3C%2F

MIT
Latest version published 5 years ago

Package Health Score

61 / 100
Full package analysis