Skip to content

Installation

Install Node.js and npm before working with the theme. Use a current Node.js LTS version unless the purchased package states a stricter requirement.

Check your versions:

Terminal window
node --version
npm --version
  1. Download the purchased Verdict Law ZIP package.
  2. Extract the ZIP into a working folder.
  3. Open a terminal in the extracted project root, where package.json is located.
  4. Install dependencies:
Terminal window
npm install

Run the local Astro development server:

Terminal window
npm run dev

Astro will print a local URL in the terminal, commonly on localhost with port 4321. Use the URL printed by your terminal because the port can change if another process is already using it.

Create the static production build:

Terminal window
npm run build

Astro writes the production output to dist unless the project configuration changes that default.

Preview the generated production build locally:

Terminal window
npm run preview

This command serves the built output. If the preview fails, run npm run build first and fix any build errors.