tnleft.blogg.se

Webpack patternlab livereload not working
Webpack patternlab livereload not working












webpack patternlab livereload not working webpack patternlab livereload not working
  1. WEBPACK PATTERNLAB LIVERELOAD NOT WORKING HOW TO
  2. WEBPACK PATTERNLAB LIVERELOAD NOT WORKING MAC OSX
  3. WEBPACK PATTERNLAB LIVERELOAD NOT WORKING PLUS

The “name:” and “description:” fields are hopefully self explanatory! The “type:” and “package:” tells Drupal what type of info file this is and where to include it within your Drupal project. The file needs to be written in YAML syntax but don't panic - it's really easy. Now open this file with your preferred text editor.

WEBPACK PATTERNLAB LIVERELOAD NOT WORKING PLUS

Create a new file and name it with your theme name plus the extension “.info.yml”. The first thing Drupal needs to recognise your theme is an info file. Now navigate into your actual theme directory once you've created it and given it a name. You'll need to create a new directory inside of “themes” with this theme name. We're going to go with “reallifedigital” to be consistent. Some people prefer to give the theme a name which doesn't relate to the project itself and others prefer to call the theme the same name as the project for consistency. This file contains a nice overview of what to put in this folder, but we will go into a bit more detail here. Navigate into your “theme” directory which should be empty except for a “README.txt” file. If you want to see our working files you can find them over on our GitHub repo. Users should still be able to follow these instructions by correcting the command line instructions for your specific operating system as and when they vary. We've tried to keep the instructions generic but some of the command line instructions may vary for Windows and Linux.

WEBPACK PATTERNLAB LIVERELOAD NOT WORKING MAC OSX

These instructions have been written as we've walked through the process using the Mac OSX operating system. If you want a more generic overview of the Drupal 8 theme system before you get started you might want to check out my colleague Alex's fantastic article " Kickstarting with Drupal 8 themes". Just a pre-warning: this is going to a literal step by step guide to setting up a custom theme in Drupal 8. We're going to presume you've installed Drupal 8 on your local environment otherwise we could be here all day catering to every niche environment! If you need help setting up a local environment you'll find plenty of resources online with regards to your specific operating system etc. And so in true open-source spirit we decided to do the legwork and share it back with all of you lovely Drupal people.

webpack patternlab livereload not working

WEBPACK PATTERNLAB LIVERELOAD NOT WORKING HOW TO

However, Drupal 8 is still in it's early days and we couldn't seem to find how to get a theme up and running with some of the open-source tools that we love to use such as sass, singularity, Breakpoint, LiveReload and Gulp. The work that has gone in to the theme system means it is now easier than ever to spin up a custom theme and get going. The advice given may no longer be best practice.ĭrupal 8 is awesome! Let's just get that right out of the way. This article is over a year old and contains technical instructions which may be out of date.














Webpack patternlab livereload not working