All Projects → mdbootstrap → Mdb Webpack Starter

mdbootstrap / Mdb Webpack Starter

Webpack Starter for Material Design for Bootstrap UI Kit based on the latest Bootstrap 5.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Mdb Webpack Starter

Three Seed
A Three.js starter project with ES6 and Webpack
Stars: ✭ 213 (+446.15%)
Mutual labels:  webpack, starter, bootstrap
React Redux Starter
A basic template that consists of the essential elements that are required to start building a Single Page Application using React, React Router, Redux, Bootstrap 4, Sass, and Webpack
Stars: ✭ 116 (+197.44%)
Mutual labels:  webpack, starter, bootstrap
Webpack Simple Starter
A simple webpack starter without framework (Like Vue, React, Angular, etc.)
Stars: ✭ 661 (+1594.87%)
Mutual labels:  webpack, starter
Universal
Seed project for Angular Universal apps featuring Server-Side Rendering (SSR), Webpack, CLI scaffolding, dev/prod modes, AoT compilation, HMR, SCSS compilation, lazy loading, config, cache, i18n, SEO, and TSLint/codelyzer
Stars: ✭ 669 (+1615.38%)
Mutual labels:  webpack, starter
Vue Bootstrap With Material Design
Vue Bootstrap with Material Design - Powerful and free UI KIT
Stars: ✭ 803 (+1958.97%)
Mutual labels:  material-design, bootstrap
Honoka
Honoka is one of the original Bootstrap theme.
Stars: ✭ 634 (+1525.64%)
Mutual labels:  webpack, bootstrap
Material Kit
Free and Open Source UI Kit for Bootstrap 4, React, Vue.js, React Native and Sketch based on Google's Material Design
Stars: ✭ 5,672 (+14443.59%)
Mutual labels:  material-design, bootstrap
Bootstrap 5 Templates
A collection of free Bootstrap 5 templates designed with Material Design 2.0. Admin dashboard, e-commerce, landing pages & much more.
Stars: ✭ 722 (+1751.28%)
Mutual labels:  material-design, bootstrap
React Typescript Web Extension Starter
🖥 A Web Extension starter kit built with React, TypeScript, SCSS, Storybook, Jest, EsLint, Prettier, Webpack and Bootstrap. Supports Google Chrome + Mozilla Firefox + Brave Browser 🔥
Stars: ✭ 510 (+1207.69%)
Mutual labels:  webpack, bootstrap
Bootstrap
Open Source JS plugins
Stars: ✭ 13 (-66.67%)
Mutual labels:  material-design, bootstrap
Tvrboreact
Dream starter project: React, Redux, React Router, Webpack
Stars: ✭ 13 (-66.67%)
Mutual labels:  webpack, starter
React Scaffold
The best scaffold for React
Stars: ✭ 27 (-30.77%)
Mutual labels:  webpack, starter
Webpack React
📦 A sample project to demonstrate bundling ES6, React, SASS and Bootstrap with Webpack
Stars: ✭ 36 (-7.69%)
Mutual labels:  webpack, bootstrap
Vue Crud
Vue.js based REST-ful CRUD system
Stars: ✭ 629 (+1512.82%)
Mutual labels:  webpack, material-design
Angular4 Admin Front
Admin system front based on Angular. 基于Angular4的后台管理系统(no longer maintain)
Stars: ✭ 36 (-7.69%)
Mutual labels:  material-design, bootstrap
Webpack Starter Basic
A simple webpack starter project for your basic modern web development needs.
Stars: ✭ 552 (+1315.38%)
Mutual labels:  webpack, starter
Laravel Boilerplate
Laravel Boilerplate / Starter Kit with Gentelella Admin Theme
Stars: ✭ 704 (+1705.13%)
Mutual labels:  starter, bootstrap
Vue Auth Boilerplate
🔑 Vue.js scalable boilerplate with user authentication.
Stars: ✭ 31 (-20.51%)
Mutual labels:  webpack, material-design
Materialwp
Material Design WordPress Theme
Stars: ✭ 459 (+1076.92%)
Mutual labels:  material-design, bootstrap
Purpleadmin Free Admin Template
Purple Admin is one of the most stylish Bootstrap admin dashboard you can get hands on. With its beautifully crafted captivating design and well-structured code.
Stars: ✭ 473 (+1112.82%)
Mutual labels:  material-design, bootstrap

MDB Logo

MDB 5 Webpack Starter

Webpack boilerplate for Bootstrap 5 & Material Design 2.0 UI Kit

>> Support MDB 5 with a STAR

>> MDB 5 Demo

Downloads License YouTube Video Views


⚠️ The use of this Starter is at your own risk and assumes basic knowledge of Webpack, JavaScript and CSS preprocessors. We recommend creating custom versions of MDB UI KIT and themes only for advanced developers.


Installation

npm install

Pro Essential installation

npm install git+https://oauth2:[email protected]/mdb/standard/mdb-ui-kit-pro-essential

Pro Advanced installation

npm install git+https://oauth2:[email protected]/mdb/standard/mdb-ui-kit-pro-advanced

Dev Server

npm start

Build

npm run build

Features:

Files structure:

.
├── src
│   ├── img/
│   ├── js/
│   ├── scss/
│   ├── mdb/
│   └── index.html
├── webpack
│   ├── webpack.common.js
│   ├── webpack.config.dev.js
│   ├── webpack.config.prod.js
│   └── mdb/
│       ├── webpack.common.mdb.js
│       ├── webpack.config.mdb.dev.js
│       └── webpack.config.mdb.prod.js
└── dist/




MDB UI KIT

Importing JS modules

You can import the entire library or just individual modules:

import * as mdb from 'mdb-ui-kit'; // lib
import { Input } from 'mdb-ui-kit'; // module
import { Input as CustomInput } from 'mdb-ui-kit'; // module with custom name

Importing CSS file

To import MDB stylesheet please use the following syntax:

@import '~mdb-ui-kit/css/mdb.min.css';




CUSTOM VERSION OF MDB UI KIT

It is possible to prepare a custom version of MDB UI KIT. It can be useful when the project uses only several modules of our library and you want to reduce the size of the compiled files. To achieve this, follow the steps:

npm install

Pro Essential installation

npm install git+https://oauth2:[email protected]/mdb/standard/mdb-ui-kit-pro-essential

Pro Advanced installation

npm install git+https://oauth2:[email protected]/mdb/standard/mdb-ui-kit-pro-advanced
npm run getMDBsrc

Importing JS components

Copy the content from mdb/js/mdb.free.js or mdb/js/mdb.pro.js to src/js/index.js file. Pick only the components you need and update path to the mdb dir. Here's an example:

import Carousel from '../../mdb/js/free/carousel';

export { Carousel };

Pro Advanced paths

For the Pro Advanced package the /mdb folder will contain two subfolders: /mdb and /plugins, so for our needs the paths to the scss and js files will have to contain duplicated mdb/ text. Here's an example for a carousel component:

import Carousel from '../../mdb/mdb/js/free/carousel';

Some components may require additional dependencies to be installed. Webpack should report this after starting a devServer.

Importing SCSS files

Same as with js files, copy the content from mdb/scss/mdb.free.scss or mdb/scss/mdb.pro.scss to src/scss/index.scss. Remove the lines with the import of modules that you will not use and update the paths to point the mdb dir.

Keep in mind that many scss files are related to each other. For example, a modal will need files for buttons, ripple, modal, close and transtions to work properly. We recommend that you only delete the files described by comments BOOTSTRAP COMPONENTS and MDB COMPONENTS.

Example path for carousel file:

@import '../../mdb/scss/free/carousel';

Pro Advanced path

@import '../../mdb/mdb/scss/free/carousel';

Configuration

Webpack config for MDB development is located in /webpack/mdb/ directory and index.html file is placed in /src/mdb/ directory.

Dev Server

npm run startMDB

Build

npm run buildMDB




CUSTOM THEME

Webpack Starter allows pro users to prepare a personalized theme for all UI KIT components.

Installation

npm install

Pro Essential installation

npm install git+https://oauth2:[email protected]/mdb/standard/mdb-ui-kit-pro-essential

Pro Advanced installation

npm install git+https://oauth2:[email protected]/mdb/standard/mdb-ui-kit-pro-advanced

SCSS config

Creating a new theme requires that you define primary and secondary colors for your application. We prepared functions and mixins that will help you to create a ready to use theme using these colors. Here's an example code:

@import '~mdb-ui-kit/src/scss/mdb.pro.scss';

$my-theme-primary: #9c27b0; // theme primary color, change this value to customize theme
$my-theme-secondary: #69f0ae; // theme secondary color, change this value to customize theme

$my-theme: mdb-light-theme($my-theme-primary, $my-theme-secondary); // create the new theme using primary and secondary colors

// include theme styles
@include mdb-theme($my-theme);
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].