[Poi] Use Poi to Build an Index.js with Modern JavaScript Features

Posted Answer1215

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[Poi] Use Poi to Build an Index.js with Modern JavaScript Features相关的知识,希望对你有一定的参考价值。

Poi can easily launch an index.js file simply by running the poi command. This will launch a dev-server and automatically reload whenever you make changes. You can also npm install any package you need and import it right away.

 

Install:

npm install -g poi

 

Code:

// src/index.js

import {Observable} from ‘rxjs‘;

Observable.intervable(1000).subscribe(
  i = > document.getElementById("app").innerhtml = `
      <h1>{i}</h1>
`
)

 

Run:

poi src/index --port 3000

 

以上是关于[Poi] Use Poi to Build an Index.js with Modern JavaScript Features的主要内容,如果未能解决你的问题,请参考以下文章

[Poi] Build and Analyze Your JavaScript Bundles with Poi

bzoj1131: [POI2008]Sta

org.apache.poi.ss.usermodel 包可以从多个模块访问:poi、poi.ooxm

[POI2007]ZAP-Queries

JAVA使用POI读写word 乱码

[POI2008]BLO-Blockade 题解