@bopli/theme-cli

Create, validate, type, build, package, and locally preview independently deployed Bopli themes.
1,912
Install
npm install @bopli/theme-cli
Latest Version:0.13.0
Vue:3
License:MIT
Last Updated:Sep 12, 2026
Links: GitHub  ·  npm
Maintainer: jcfrane

@bopli/theme-cli

Create, validate, build, and locally preview convention-based Vue themes for Bopli.

npx @bopli/theme-cli create my-theme
cd my-theme
npm install
npm run dev

Inside a generated theme:

npx bopli-theme validate .
npx bopli-theme add page about
npx bopli-theme types .
npx bopli-theme build .
npx bopli-theme dev .
npx bopli-theme dev . --app ../bopli-app --docker-service php

create generates a pinned standalone repository from the checked starter scaffold. add page creates one Vue template with a typed inline authoring declaration without overwriting existing files. dev serves a fixture-backed preview with template and setting controls by default; pass --app for full Bopli integration. types derives resources/js/.bopli/types.d.ts from bopli.settings and the autocomplete-friendly declarations. build, package, and dev regenerate it automatically. The compiler extracts and removes authoring declarations before enforcing the public import boundary and emitting a self-contained ESM runtime, CSS, artifact inventory, and protocol-v1 theme.json for immutable CDN publication.

See the Bopli theme toolkit for theme conventions and release workflows.

Related Packages

@jcamp/vitepress-blog-theme

VitePress easy to use blog theme

958 28
aplos

A sleek, contemporary, and purposefully designed VitePress theme

2,682 8
vite-plugin-vue2

Vite plugin for Vue2

1,474,659 618
@vue-vine/vite-plugin

Official Vite plugin for Vue Vine

95,680 1,442
vitepress-theme-teek

vitepress-theme-teek

26,382 353

Version History

Version Released Vue License
0.13.0 ^3.5.13 MIT
0.12.0 ^3.5.13 MIT
0.11.0 ^3.5.13 MIT
0.10.1 ^3.5.13 MIT
0.10.0 ^3.5.13 MIT