1.0.9 • Published 12 months ago

izo-blog v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
12 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

12 months ago

1.0.8

12 months ago

1.0.7

12 months ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago