This is the path to the less folder of our theme, not the less folder of bootstrap itself, namely our theme, because we load the bootstrap files from our style.less file. LESS source directory - C:\OpenServer\domains\drupal8\themes\drupalbook\less
We call our profile somehow, for example Bootstrap, for each PhpStorm project you need to create a different profile. We go into the settings of PhpStorm and look for the word LESS in the settings:Ĭlick plus to add a LESS profile. Now that we have the plugin installed, we need to configure it.
#INSTALLING THEME PHPSTORM 2019 INSTALL#
If you can’t find the plugin, then download it from the official page:Īnd install the plugin through Install plugin from disk.
Rename also have the theme settings files: Name: 'Bootstrap Drupalbook Sub-Theme (LESS)' The name of the theme would also be desirable to rename: Now let's go to the file and in the libraries section also rename THEMENAME: We also rename the files, , THEMENAME.theme so that instead of THEMENAME is the name of our theme, for example. The folder for the subtheme must be taken directly from the parent theme:Ĭopy the less folder to the /themes folder, next to the parent bootstrap theme and rename it to the name of our theme, I will have drupalbook. In order to create your own theme based on Bootstrap, you need to create a subtheme. Unlike the 7th drupal in the 8th, we put all the themes of the site in the / themes folder in the root of the site: I think you already have Drupal installed.
#INSTALLING THEME PHPSTORM 2019 HOW TO#
In this tutorial, we’ll show you how to create a theme based on Bootstrap, a popular framework for quickly creating page layouts. In past lessons, we have already looked at how to create a theme based on another Stable theme.