All Projects → felipefialho → Kratos Boilerplate

felipefialho / Kratos Boilerplate

Licence: mit
🔥 A simple boilerplate for creating statics PWA using Webpack, Pug, PostCSS and CSS Modules

Programming Languages

javascript
184084 projects - #8 most used programming language
es6
455 projects

Projects that are alternatives of or similar to Kratos Boilerplate

Static Site Boilerplate
A better workflow for building modern static websites.
Stars: ✭ 1,633 (+430.19%)
Mutual labels:  webpack, boilerplate, sass, postcss
React Redux Universal Boilerplate
An Universal ReactJS/Redux Boilerplate
Stars: ✭ 165 (-46.43%)
Mutual labels:  webpack, boilerplate, sass, css-modules
Frontend Webpack Boilerplate
Simple starter webpack 5 project template supporting SASS/PostCSS, Babel ES7, browser syncing, code linting. Easy project setup having multiple features and developer friendly tools.
Stars: ✭ 242 (-21.43%)
Mutual labels:  webpack, boilerplate, sass, postcss
React Cool Starter
😎 🐣 A starter boilerplate for a universal web app with the best development experience and a focus on performance and best practices.
Stars: ✭ 1,083 (+251.62%)
Mutual labels:  webpack, boilerplate, postcss, css-modules
React Redux Boilerplate
Awesome React Redux Workflow Boilerplate with Webpack 4
Stars: ✭ 307 (-0.32%)
Mutual labels:  webpack, boilerplate, postcss, css-modules
Deventy
A minimal 11ty starting point for building static websites with modern tools.
Stars: ✭ 157 (-49.03%)
Mutual labels:  webpack, sass, postcss
React Core Boilerplate
Powerful ASP.NET Core 3 templates with React, true server-side rendering and Docker support
Stars: ✭ 169 (-45.13%)
Mutual labels:  webpack, boilerplate, sass
Typescript Webpack React Redux Boilerplate
React and Redux with TypeScript
Stars: ✭ 182 (-40.91%)
Mutual labels:  webpack, boilerplate, css-modules
Threejs Webpack Es6 Boilerplate
A basic boilerplate for a Three.js project compiled with Webpack and transpiled via Babel to enable using ES6 syntax.
Stars: ✭ 267 (-13.31%)
Mutual labels:  webpack, boilerplate, sass
Iceberg
Front-End Boilerplate built with React + Babel + Webpack + SASS
Stars: ✭ 144 (-53.25%)
Mutual labels:  webpack, boilerplate, sass
React Cordova Boilerplate
TodoMVC example for react with development tools to build a cordova application
Stars: ✭ 206 (-33.12%)
Mutual labels:  webpack, boilerplate, sass
Vue Foundation
VueJS + Foundation + Vue-Router + Webpack
Stars: ✭ 212 (-31.17%)
Mutual labels:  webpack, boilerplate, sass
Webpack Encore
A simple but powerful API for processing & compiling assets built around Webpack
Stars: ✭ 1,975 (+541.23%)
Mutual labels:  webpack, sass, postcss
Reactql
Universal React+GraphQL starter kit: React 16, Apollo 2, MobX, Emotion, Webpack 4, GraphQL Code Generator, React Router 4, PostCSS, SSR
Stars: ✭ 1,833 (+495.13%)
Mutual labels:  webpack, sass, postcss
Kirby Webpack
💪 A Kirby CMS starter-kit with modern frontend tools
Stars: ✭ 150 (-51.3%)
Mutual labels:  webpack, boilerplate, sass
Mern Boilerplate
MERN stack project boilerplate
Stars: ✭ 211 (-31.49%)
Mutual labels:  webpack, boilerplate, sass
Modular Css
A streamlined reinterpretation of CSS Modules via CLI, API, Browserify, Rollup, Webpack, or PostCSS
Stars: ✭ 234 (-24.03%)
Mutual labels:  webpack, postcss, css-modules
Kit
ReactQL starter kit (use the CLI)
Stars: ✭ 232 (-24.68%)
Mutual labels:  webpack, sass, postcss
React
Extremely simple boilerplate, easiest you can find, for React application including all the necessary tools: Flow | React 16 | redux | babel 6 | webpack 3 | css-modules | jest | enzyme | express + optional: sass/scss
Stars: ✭ 244 (-20.78%)
Mutual labels:  webpack, boilerplate, css-modules
React Pages Boilerplate
Deliver react + react-router application to gh-pages
Stars: ✭ 134 (-56.49%)
Mutual labels:  webpack, boilerplate, css-modules

Kratos Boilerplate

A simple boilerplate for creating a static PWA using Webpack, Pug, PostCSS and CSS Modules

NPM Version license GitHub contributors

Generate a new project with Yeoman

To make easy create a new projects, Kratos has a generator using Yeoman

To use it:

# install yeoman
$ npm install -g yo

# install kratos generator
$ npm install -g generator-kratos-boilerplate

# generate a new project
$ yo kratos-boilerplate

Getting Started

# install dependencies
$ npm i

# run the project
$ npm start

With the commands above, you have everything to start.

The app.config.json file has all minimal config to create your scaffolding.

About CSS

This project use Sass as CSS preprocessor 😁

Post CSS libs

For grid system uses Autoprefixer to make easy use browser prefixes, Lost with some help from, Rucksack for animations, reset and a lot of great mixins, Rupture for responsive utilities. And Font Magician to get the webfonts.

CSS Modules

To make easier create your components and avoid a lot of problems, it boilerplate use CSS Modules.

Example

.host
  text-align center

.title
  font-size 4rem

.description
  font-size 2rem

After the transformation it will become like this

._host_4897k_1 {
  text-align: center;
}

._title_4897k_9 {
  font-size: 4rem;
}

._description_4897k_12 {
  font-size: 2rem;
}

Tasks

  • npm start: run all tasks and initialize watch for changes and a server
  • npm run build: run all production tasks create a dist folder to deploy
  • npm run lint: lint javascript and css
  • npm run fix: command to fix all eslint errors
  • npm run deploy: run all tasks to build and deploy on gh-pages

License

MIT License © Felipe Fialho

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].