JSPM

minista

3.1.6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 412
  • Score
    100M100P100Q87334F
  • License MIT

Static site generator with 100% static export from React and Vite

Package Exports

  • minista
  • minista/dist/shared/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

Site & Documentation

https://minista.qranoko.jp

About

minista(ミニスタ)は React の JSX から綺麗な HTML を作る日本製のスタティックサイトジェネレーターです。

How To Use

Automatic Setup

$ npm create minista@latest

Manual Setup

$ npm install --save-dev minista react react-dom
$ touch ./src/pages/index.jsx
// ./src/pages/index.jsx
export default function () {
  return <h1>Hello!</h1>
}

package.json を開き、以下のスクリプトを追加します。

"scripts": {
  "dev": "minista",
  "build": "minista build",
  "preview": "minista preview",
}

Commands

コマンド 内容
minista 開発モード(Ctrl + C で停止)
minista build 静的書き出し
minista preview 静的書き出し後の動作確認

License

  • MIT

Credit