This package has been deprecated

Author message:

transferred to the '@custom-site' organization.

custom-site
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

CustomSite

Node製の静的サイトジェネレーター(Static Site Generator)です。

npm version Build Status codecov dependencies Status devDependencies Status

使い方

インストール

npm i -g custom-site

すぐに使う

mysiteというディレクトリを作成し、その中にindex.mdxを作成します。

mkdir mysite
touch mysite/index.mdx

デバッグサーバーを立ち上げます。実行すると自動的にブラウザが立ち上がるでしょう。

custom-site ./mysite -Do

index.mdxを次のように編集します。 編集が終わったら保存します。このあとにブラウザのリロードの必要はありません! ファイルの変更を検知したら自動的にリロードされます。

---
title: Hello World
---

# MySite

ビルド

静的なサイトとして出力してみましょう。 とても簡単です。次のコマンドを実行します。

custom-site mysite --out-dir site

これでsiteディレクトリにHTMLファイルが出力されました。

Library Development

yarn install
yarn start

Architecture

architecture

License

MIT © Himenon

Readme

Keywords

Package Sidebar

Install

npm i custom-site

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

71.8 kB

Total Files

62

Last publish

Collaborators

  • himenoglyph