JSPM

minista

2.0.0-alpha.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 412
  • Score
    100M100P100Q88269F
  • License MIT

Package Exports

  • minista
  • minista/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (minista) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

minista

About

minista(ミニスタ)は、React (TSX/JSX)で書けるスタティックサイトジェネレーターです。SaaS の web テンプレートコーディング業務を想定し、ビルド時の納品用データが綺麗(ヒューマンリーダブル)であることを重視しています。CSS と JavaScript は個別に出力されます。

How To Use

Automatic

not supported

Manual

$ npm install --save-dev minista@next react react-dom
# ----------------------------------------------------
# Directory Example
# ----------------------------------------------------

public # Copy dist
src
└── pages # Required!
    ├── about
    │   └── index.tsx
    └── index.tsx
//----------------------------------------------------
// Page Example
//----------------------------------------------------

const PageHome = () => {
  return (
    <h1>Home</h1>
  )
}

export default PageHome

Commands

Develop

# Start
$ minista

# Stop
Press Ctrl+C

Build

$ minista build

Components

undecided

Customize

not supported

Media

Respect

License

  • MIT

Credit