Use this template to get started with Bitrix24 UI quickly.
The starter template for Vue is on https://github.com/bitrix24/starter-b24ui-vue.
git clone https://github.com/bitrix24/starter-b24ui.git <project-name>
cd <project-name>
pnpm install
pnpm run devMake sure to install the dependencies:
pnpm installStart the development server on http://localhost:3000:
pnpm devLint the codebase:
pnpm lintRun type checking:
pnpm typecheckRun the tests (powered by Vitest and @nuxt/test-utils):
pnpm testCopy .env.example to .env and adjust the values as needed:
cp .env.example .env| Variable | Description |
|---|---|
NUXT_ALLOWED_HOSTS |
Comma-separated list of extra hosts allowed by the Vite dev server. Useful when exposing the dev server through tunnels like ngrok. |
Build the application for production:
pnpm buildLocally preview production build:
pnpm previewCheck out the deployment documentation for more information.