1.0.9 • Published 11 months ago

izo-blog v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

izo-blog

image

🚀 Installation

npm install izo-blog

🍋 Usage

const izoBlogOptions = {
  templates: {
    // template_name: template_path
  }
}
export default defineConfig((): UserConfig => {
  return {
    plugins: [
      izoBlog(myIzoBlogOptions),
      qwikCity(QwikCityOptions),
      qwikVite(),
      tsconfigPaths(),
    ],
  // ...
  }
}

⚡ Options

type IzoBlogOptions = {
  templates: { [key: string]: string },
  hostname?: string,
  buildTemplate?: (route: string, title: string, template: string) => string,
  onCreate?: (route: string, title: string, template: string) => void,
  onSave?: (route: string) => void,
  port?: number
}

✍🏻 Editor

The plugin starts an editor environment server on port 8080 (by default).

  • (or CTRL + Space) - Toggle routes menu.
  • (or CTRL + S) - Save the current document.
  • (or CTRL + D) - Toggle document creator menu.
  • Esc - Close routes or creator menu.

📜 License

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago