@aiou/original-html-template

original html template

Usage no npm install needed!

<script type="module">
  import aiouOriginalHtmlTemplate from 'https://cdn.skypack.dev/@aiou/original-html-template';
</script>

README

@aiou/original-html-template

original-html-template; No React; Just JS files and original html file self

不使用React等前端框架的template

npm GitHub

Features

  1. use webpack
  2. support ts
  3. <link /> 会加上preload
  4. 在移动端可以通过http:<ip>:8080访问网页

Dependencies

  • typescripts
  • css
    • stylus
    • post-css
  • react
    • typescript
  • webpack v4

For Devlopers

  • custom prepublishOnly script in package.json and other package info
  1. 推荐使用VSCODE IDE

    • IDE - VSCode
      • install plugin - stylint
      • install plugin - tslint
    • install redux-dev-tools in Chrome Store
  2. 可以使用Rucksack和Rupture 加速stylus开发。分别封装了一些好用postcss mixinsstylus mixins for media query

Refs