Installation
Requirements
Section titled “Requirements”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:
node --versionnpm --versionInstall the Theme
Section titled “Install the Theme”- Download the purchased Verdict Law ZIP package.
- Extract the ZIP into a working folder.
- Open a terminal in the extracted project root, where
package.jsonis located. - Install dependencies:
npm installStart Development
Section titled “Start Development”Run the local Astro development server:
npm run devAstro 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.
Build for Production
Section titled “Build for Production”Create the static production build:
npm run buildAstro writes the production output to dist unless the project configuration changes that default.
Preview the Build
Section titled “Preview the Build”Preview the generated production build locally:
npm run previewThis command serves the built output. If the preview fails, run npm run build first and fix any build errors.