This UI Kit allows you to build Bootstrap webapp with some extra UI features.
Go to file
2024-06-26 01:17:51 +02:00
dist FIX: Google Captcha 2024-04-29 23:05:28 +02:00
src IMPR: Add validate form/field functionality 2024-06-26 01:17:51 +02:00
thirdparty IMPR: Minor fixtures 2021-03-22 02:57:49 +07:00
.editorconfig Editorconfig 2021-09-10 00:50:09 +02:00
.eslintignore IMPR: standard linting 2022-05-03 20:50:57 +02:00
.gitignore Replace npm with pnpm 2020-05-14 23:12:22 +07:00
.npmrc FIX: .npmrc 2021-12-14 19:12:12 +02:00
babel.config.json FIX: Fallback page loading 2021-03-30 12:43:22 +07:00
eslint.config.json IMPR: linting updates 2021-01-31 18:57:22 +07:00
LICENSE Initial commit 2019-06-08 22:20:51 +07:00
package.json FIX: Google Captcha 2024-04-29 23:04:58 +02:00
README.md UPD: README.md 2021-09-13 02:30:37 +02:00
sass-lint.yml FIX: turnstile captchas 2024-03-07 03:49:23 +02:00
webpack.config.common.js UPD: node_modules upgrades 2021-10-28 03:12:01 +02:00
webpack.config.js IMPR: CMS lightbox 2023-02-20 16:56:31 +02:00
webpack.config.serve.js UPD: Minor 2022-02-17 06:54:57 +02:00
webpack.yml UPD: node_modules upgrades 2021-10-28 03:12:01 +02:00

webpack-bootstrap-ui-kit

Webpack Bootstrap 5 UI Kit

This UI Kit allows you to build Bootstrap 5 webapp with some extra UI features. It's easy to extend and easy to convert HTML templates to CMS templates.

Note: I prefer using vanilla JS with minimal external dependencies to reach higher loading speed. There's no jQuery and no React, but it can be connected optionally.

Demo

https://rawcdn.githack.com/a2nt/webpack-bootstrap-ui-kit/master/dist/index.html

Quick Start

Requirements:

  • node
  • yarn
  • pnpm package manager

https://pnpm.js.org/en/installation

Note: You can use npm package manager, but this one will save your disc space. Replace pnpm commands with npm if you prefer npm

Clone and setup quick start repository:

git clone https://github.com/a2nt/webpack-bootstrap-ui-kit-quick-start.git

cd ./webpack-bootstrap-ui-kit-quick-start

pnpm install

Edit files at ./src

Start development server at http://127.0.0.1:3001

yarn start

Define your GraphQL mocks at src/mocks/handlers.js

Build your files to ./dist:

yarn build

Directory structure

src/ - your sources

-- src/scss/_variables.scss - specific app variables

-- src/scss/_layout.scss - specific app style

-- src/html - HTML templates

-- src/js/_events.js - app events definitions

-- src/js/_layout.js - app events definitions

-- src/js/_components - ui components

-- src/img - some example images

dist/ - compiled scipts after "yarn build"

You can open dist/index.html to see demo