搜尋套件、儲存庫與 APP 分類

套件詳情v0.0.14

static_shock

Dart 的靜態網站產生器。

Windows
近 30 天下載
1780
喜歡數
40
Pub 分數
130

安裝套件

flutter pub add static_shock

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Static_Shock 是一個為 Dart 建構的靜態網站產生器,能讓開發者有效率地建立與部署靜態網站。它利用 Dart 的效能與類型安全性,簡化內容編譯、樣板處理與資源管理。設計簡單且快速,可無縫整合至 Dart 工作流程,並支援 Windows 平台。適合用於部落格、文件網站與個人作品集,Static_Shock 將內容編譯為最佳化的 HTML、CSS 與 JavaScript 檔案,可直接託管於任何靜態網頁伺服器上。

適用情境

  • 構建部落格
  • 建立文件網站
  • 產生個人作品集
  • 部署行銷落地頁
  • 自動化網站建構

主要特色

  • Dart 原生靜態網站生成
  • 基於模板的內容渲染
  • 內建資源優化
  • 支援 Windows
  • 簡單的 CLI 結合

適合對象

  • Dart 開發人員
  • Bloggers
  • 技術撰寫者
  • 面向前端的團隊
  • CI/CD 流水線整合

使用建議

  • 僅限 Windows 平台
  • 需要熟悉 Dart
  • 無內建主機支援
  • 不適用於動態應用
  • 最小的社群支援

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Static Shock - A static site generator, written in Dart

Built by the Flutter Bounty Hunters


For documentation, visit staticshock.io

Quickstart

Generate a new Static Shock project with static_shock_cli:

# Activate the CLI tool.
dart pub global activate static_shock_cli

# Generate a new project.
shock create

Once you've created a project, you can (re)build your static site as needed:

# Build directly
dart bin/main.dart

# Or, build with the CLI tool
shock build

To demo your static site, run a local server from your project directory, using the CLI tool:

shock serve

The local server automatically rebuilds and reloads your pages as you work.

Packages

Packages in this repository:

  • /packages/static_shock_cli: project that implements the Static Shock CLI tool.
  • /packages/static_shock: the core of Static Shock, which builds static websites.
  • /packages/static_shock_docs: the website for Static Shock documentation.

Development

This repository is a mono-repo. To work with it, you need Melos available on your path:

dart pub global activate melos

When you first open the root of the project for development, bootstrap Melos:

melos bootstrap

所屬分類

依賴

依賴清單 15 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。