TS Grid - Grid
A base theme for a Drupal 8 site using CSS Grid Layout, Webpack, and JS ES6. Requires components module to be added to the project build for the visual grid checker to be useful.
Check out the Wiki to learn more about this theme: https://github.com/thinkshout/ts_grid/wiki
Setup and use
npm installto install dependencies.
npm run buildto run the production build.
npm run build:devto run the development build. Do not commit changes from development mode!
npm run startto watch for changes and build.
npm run start:devto watch for changes and build in development mode. In this mode, your local site should automatically refresh when files change. Note: Do not commit changes from development mode! Commit changes from
npm run buildinstead.
npm run prettierto fix styling errors in js/scss files. This is ran automatically if you commit files while inside the theme directory.
For more information on ES6, see https://dev.to/srebalaji/es6-for-beginners-with-example-c7