Currently there is no Astro integration and Astro Main Menu has to be installed manually.
The installation steps are:
Use your package manager to install @pbkware/astro-main-menu. If using NPM:
npm install @pbkware/astro-main-menu
Use your package manager to install sass. If using NPM:
npm install sass
This file is required to specify the @media breakpoint between wide and narrow. Add it with the following steps:
Ensure the following folder exists in your Astro project:
/src/styles/scss
Within this folder, create a file named:
_main-menu-config.scss
Add the following initial content into this file:
// Breakpoint used in media queries to determine when to use narrow main menu
$narrow-breakpoint: 24rem;