From 6d7da1c0f7a0a6bae80fea0bc12deada876a8027 Mon Sep 17 00:00:00 2001 From: Doxa Maps Date: Sat, 26 Sep 2026 01:02:40 +0000 Subject: [PATCH] plugin-designs/README: the tree is dx-maps, and a bundle's tag is its folder name Four path lines said public/doxa-maps/ (the folder was renamed in 09014f8a), and the embed example used a tag, but a bundle registers the tag named after its folder (template-bundle/index.js), so the example is . --- plugin-designs/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugin-designs/README.md b/plugin-designs/README.md index 50d8df963..442a9058d 100644 --- a/plugin-designs/README.md +++ b/plugin-designs/README.md @@ -47,7 +47,7 @@ plugin-designs// ← one FOLDER = one BUNDLE, named after the fold ├── overview.vue ← one .vue = one PROFILE (flat in the folder — no profiles/ subfolder) └── detail.vue ← another profile in the SAME bundle - builds to ─────────────► public/doxa-maps//.js (one file) + builds to ─────────────► public/dx-maps//.js (one file) ``` - **Folder name = bundle name.** Folders starting with `_` or `.` are skipped (handy for WIP). @@ -55,9 +55,9 @@ plugin-designs// ← one FOLDER = one BUNDLE, named after the fold - **Pick the profile at embed time** with the `profile` field — every profile shares one bundle: ```html - - - + + + ``` ## Add a map — three steps @@ -69,7 +69,7 @@ mkdir -p plugin-designs/ # .vue ← your screen, built from @map/* blocks (flat in the folder) # 2. build -npm run build # → public/doxa-maps//.js +npm run build # → public/dx-maps//.js # (just this one: BUNDLE= npm run build:bundle) # 3. embed the script tag + element (dev staging at `npm run dev` shows a paste-ready snippet)