Vue Revisited 2025

From bibbleWiki
Revision as of 00:17, 19 June 2025 by Iwiseman (talk | contribs) (Created page with "=Introduction= Well a interview for a job means I need to revisit this. So hopefully I will learn new tricks. But first thing is I needed to install pygments 2.19 as that comes with a lexer for vue. To install this I made an python environment and installing it a there was no ubuntu package <syntaxhighlight lang="bash"> python3 -m venv /opt/mediawiki-venv source /opt/mediawiki-venv/bin/activate pip install pygments==2.19.0 </syntaxhighlight> Then set mediawiki to point t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

Well a interview for a job means I need to revisit this. So hopefully I will learn new tricks. But first thing is I needed to install pygments 2.19 as that comes with a lexer for vue. To install this I made an python environment and installing it a there was no ubuntu package

python3 -m venv /opt/mediawiki-venv
source /opt/mediawiki-venv/bin/activate
pip install pygments==2.19.0

Then set mediawiki to point to it

$wgPygmentizePath = "/opt/mediawiki-venv/bin/pygmentize";