EDS sites for macktrucks.com
- Preview: https://main--vg-macktrucks-com--volvogroup.aem.page/
- Live: https://main--vg-macktrucks-com--volvogroup.aem.live/
- Preview: https://main--macktrucks-bs--volvogroup.aem.page/
- Live: https://main--macktrucks-bs--volvogroup.aem.live/
- Preview: https://main--macktrucks-ca--volvogroup.aem.page/
- Live: https://main--macktrucks-ca--volvogroup.aem.live/
- Preview: https://main--macktrucks-cl--volvogroup.aem.page/
- Live: https://main--macktrucks-cl--volvogroup.aem.live/
- Preview: https://main--macktrucks-co-nz--volvogroup.aem.page/
- Live: https://main--macktrucks-co-nz--volvogroup.aem.live/
- Preview: https://main--macktrucks-com-ar--volvogroup.aem.page/
- Live: https://main--macktrucks-com-ar--volvogroup.aem.live/
- Preview: https://main--macktrucks-com-au--volvogroup.aem.page/
- Live: https://main--macktrucks-com-au--volvogroup.aem.live/
- Preview: https://main--macktrucks-com-bo--volvogroup.aem.page/
- Live: https://main--macktrucks-com-bo--volvogroup.aem.live/
- Preview: https://main--macktrucks-com-co--volvogroup.aem.page/
- Live: https://main--macktrucks-com-co--volvogroup.aem.live/
- Preview: https://main--macktrucks-com-do--volvogroup.aem.page/
- Live: https://main--macktrucks-com-do--volvogroup.aem.live/
- Preview: https://main--macktrucks-com-ec--volvogroup.aem.page/
- Live: https://main--macktrucks-com-ec--volvogroup.aem.live/
- Preview: https://main--macktrucks-com-emea--volvogroup.aem.page/
- Live: https://main--macktrucks-com-emea--volvogroup.aem.live/
- Preview: https://main--macktrucks-com-gy--volvogroup.aem.page/
- Live: https://main--macktrucks-com-gy--volvogroup.aem.live/
- Preview: https://main--macktrucks-com-mx--volvogroup.aem.page/
- Live: https://main--macktrucks-com-mx--volvogroup.aem.live/
- Preview: https://main--macktrucks-com-museum--volvogroup.aem.page/
- Live: https://main--macktrucks-com-museum--volvogroup.aem.live/
- Preview: https://main--macktrucks-com-ng--volvogroup.aem.page/
- Live: https://main--macktrucks-com-ng--volvogroup.aem.live/
- Preview: https://main--macktrucks-com-ni--volvogroup.aem.page/
- Live: https://main--macktrucks-com-ni--volvogroup.aem.live/
- Preview: https://main--macktrucks-com-pa--volvogroup.aem.page/
- Live: https://main--macktrucks-com-pa--volvogroup.aem.live/
- Preview: https://main--macktrucks-com-pe--volvogroup.aem.page/
- Live: https://main--macktrucks-com-pe--volvogroup.aem.live/
- Preview: https://main--macktrucks-com-ve--volvogroup.aem.page/
- Live: https://main--macktrucks-com-ve--volvogroup.aem.live/
- Preview: https://main--macktrucks-cr--volvogroup.aem.page/
- Live: https://main--macktrucks-cr--volvogroup.aem.live/
- Preview: https://main--macktrucks-gt--volvogroup.aem.page/
- Live: https://main--macktrucks-gt--volvogroup.aem.live/
- Preview: https://main--macktrucks-hn--volvogroup.aem.page/
- Live: https://main--macktrucks-hn--volvogroup.aem.live/
- Preview: https://main--macktrucks-ht--volvogroup.aem.page/
- Live: https://main--macktrucks-ht--volvogroup.aem.live/
- Preview: https://main--macktrucks-sv--volvogroup.aem.page/
- Live: https://main--macktrucks-sv--volvogroup.aem.live/
- Preview: https://main--macktrucks-tt--volvogroup.aem.page/
- Live: https://main--macktrucks-tt--volvogroup.aem.live/
- Install the Helix CLI:
npm install -g @adobe/aem-cliand install dev dependencies:
npm ci- Start the local development environment with a single command:
npm startThis runs the AEM proxy aem up and the build npm run watch in parallel (via npm-run-all), so you get automatic rebuilds and the AEM proxy in one step.
- If you prefer the old workflow, you can still run the commands separately:
aem up— start the AEM proxynpm run watch— start the incremental build with sourcemaps
- Open the
{repo}directory in your favorite IDE and start coding :)
- Configure your local environment to be able to install the Volvo Design System packages. Follow the guide here.
- Configure your PAT token and email in your user-level
.npmrc(e.g.,~/.npmrc), not in the project directory, to avoid authentication issues. Refer to the official documentation for details (2.1 Authentication).
To follow the “Copy the token and base64 encode the string” step from the instructions, you can generate the base64-encoded PAT like this:
echo -n YOUR_PAT_HERE | base64Use the resulting string as the value for the _password field in your .npmrc.
Production builds do not include sourcemaps.
To debug a production issue:
- Check out the exact commit currently deployed to production (usually the latest commit on main, or a specific commit SHA if needed).
- Build locally (sourcemaps enabled):
npm run build:dev- Open the production page in your browser and access its developer tools, then navigate to the panel where source files are displayed (e.g. Sources).
- Add your local
dist/folder to the workspace / file system mapping (name varies by browser).
You can then use your local sourcemaps to inspect and debug the original source code behind the minified production files. Depending on the browser, the mapping may happen automatically or may require a manual file-to-file association within the developer tools.