Skip to content

Installation

Cédric Belin edited this page Jul 4, 2024 · 2 revisions

Requirements

Before installing MC2IT Theme, you need to make sure you have Node.js and npm, the Node.js package manager, up and running.

You can verify if you're already good to go with the following command:

node --version
# v22.3.0

Installing with npm package manager

1. Install it

From a command prompt, run:

npm install @mc2it/theme

2. Import it

Now in your Sass code, you can use:

@use "pkg:@mc2it/theme";

Whereas in your JavaScript code, you would use:

import * as theme from "@mc2it/theme";
Clone this wiki locally