Seme Framework documentation using Nuxt 4 (Vue 3). Published at https://seme.framework.web.id.
- Node.js 22.22+, 24.15+ or 26+
- Yarn
yarn install
cp .env.example .env # then adjust the values
yarn dev # http://localhost:3001Other commands:
yarn build # production build
yarn start # serve the production build (node .output/server/index.mjs)
yarn generate # static exportAll are optional; defaults point to http://localhost:$PORT.
| Variable | Purpose |
|---|---|
PORT |
Dev/prod server port (default 3001) |
BASE_URL |
Base URL used for canonical/og:url and JSON-LD |
ORIGIN_URL |
Sitemap hostname |
CDN_URL |
Base URL for icons and share images |
GOOGLE_ANALYTICS_ID |
Google Analytics 4 measurement ID (G-XXXXXXX); tracking is off when empty |
- All sources are in
app/(Nuxt 4 layout) and static files inpublic/. app/pages/<version>/– documentation pages per Seme version (3.0–4.0);app/pages/id/is the Indonesian version.app/layouts/– one tiny file per layout that pages reference withdefinePageMeta({ layout: 'v4-0' }); each just renders<DocLayout name="...">.app/components/DocLayout.vue– the shared page shell (sidebar, footer, head/meta). Per-layout settings live inapp/data/layouts.js.app/data/nav/– sidebar menus as data;app/data/versions.jsholds the release number and the shared "Versions" menu. To add a page to a sidebar, edit the matching file inapp/data/nav/.app/components/MacWindowCodeSnippet.vue– code block with the Mac window frame. Use it for every code sample:<MacWindowCodeSnippet lang="php"> parent::__construct(); </MacWindowCodeSnippet>
This source code under MIT license.