# Integrating Patternlab

# Integrating Patternlab into a Project

npm install @pharma4u/patternlab --save

WARNING

Always update the version number in the package.json of your project when you release a new version of Patternlab.

# Pharma4u_Templates and LabXpert_Templates

TIP

Patternlab is currently integrated in pharma4u_templates and labxpert_templates.

  • the compiled Patternlab JavaScript (main.js) and CSS (pharma4u.css or labxpert.css) is included in pharma4u_templates/Configuration/Typoscript/Setup/assets.ts

  • used libraries have to be included here as well, e.g.:

    fortawesome = EXT:pharma4u_templates/node_modules/@fortawesome/fontawesome-pro/css/all.css
    fortawesome.media = screen
1
2