create-assistsx-vue
v0.1.6
Published
Scaffold a Vue + Vite + TypeScript AssistsX app with assistsx-js, router examples, and local/npm assistsx-js resolution.
Maintainers
Readme
create-assistsx-vue
Scaffold a Vue 3 + Vite + TypeScript AssistsX app with assistsx-js, including:
- Vue Router with home, log panel, and test float panel examples
- Classic
StepImplautomation samples (src/steps/) - Local vs npm assistsx-js resolution (
assistsx-resolve.mjs,.env.example,dev:registry)
Usage (after publish)
New folder
npx create-assistsx-vue@latest my-app
cd my-app
npm run devCurrent directory
Initialize in the working directory (no cd into a new folder):
mkdir my-app && cd my-app
npx create-assistsx-vue@latest --here
npm run devEquivalent:
npx create-assistsx-vue@latest .If the target is the current directory, the folder may already contain only: .git, .gitignore, .DS_Store, or Thumbs.db (e.g. after git init). Anything else must be empty or the command exits with an error.
Local testing
From this package directory (create-assistsx-vue):
Link globally (picks up the local
binandtemplate):cd /path/to/create-assistsx-vue npm linkThen anywhere:
mkdir -p /tmp/scaffold-test && cd /tmp/scaffold-test create-assistsx-vue demo-app --skip-installRemove link when done:
npm unlink -g create-assistsx-vue.Run the CLI directly with Node (no link):
node /path/to/create-assistsx-vue/bin/cli.mjs ./demo-app --skip-installDry-run pack contents (what npm would publish):
cd /path/to/create-assistsx-vue npm pack --dry-run
Options
--here— scaffold into the current directory; do not pass a project directory. Combine with other flags as needed (e.g.npx create-assistsx-vue@latest --here --skip-install).--skip-install— copy template only; runnpm installyourself in the new folder.
Requirements
- Node.js 18+
