@aiou/react-template

React template

Usage no npm install needed!

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

README

@aiou/react-template

spa react template

npm GitHub

features

  1. use webpack
  2. support ts
  3. <link /> 会加上preload
  4. 在移动端可以通过http:<ip>:port方式访问
  5. hot-loader

dependencies

  • typescript
  • css
    • stylus
    • post-css
    • rucksack - useful postcss mixins
    • rupture - useful media query
  • react
  • react-hot-loader
  • rematch
  • swr

dev

  • custom
    • release script
    • package name
    • version
  • vscode
    • install tslint and stylint first
  • chrome
    • devtools

refs