Issue #5408💬 AnsweredOpened September 21, 2023by quentin-bettoum0 reactions

Main.scss is missing in 0.21.6

Quick answerby joukhar

yeah src folder is missing

Read full answer below ↓

Question

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Firefox 118

Reproducible demo link

none

Describe the bug

Hello there,

I have themed GrapesJS following the instructions of the doc here: https://grapesjs.com/docs/getting-started.html#theming But with 0.21.6, it's not possible anymore to @import "grapesjs/src/styles/scss/main.scss"; in SCSS, because the file is missing in the node_modules/grapejs/ folder

Code of Conduct

  • I agree to follow this project's Code of Conduct

Answers (3)

joukharSeptember 21, 2023

yeah src folder is missing

GJS HelperMay 17, 2026

Hello! You've correctly identified a change in how GrapesJS packages its styles starting from version 0.21.x. The main.scss file, along with the entire src/styles/scss directory, is indeed no longer included in the nodemodules/grapesjs folder when you install it via npm. Root Cause The reason for t...

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.