This repository contains demos and/or examples on how to use the Vue MDBootstrap v2.2 components, and integrate Bootstrap v5 or TailwindCSS v4 CSS framework.
The example pages is separated in two parts:
src/bootstrap, which shows how to leverage the Bootstrap v5 CSS frameworksrc/tailwind, which shows how to leverage the TailwindCSS v4 CSS framework
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.
TypeScript cannot handle type information for .vue imports by default, so we replace the tsc
CLI with vue-tsc for type checking. In editors, we need Vue - Official to make the
TypeScript language service aware of .vue file types.
See Vite Configuration Reference.
For full documentation, please visit Vue MDBootstrap website.
Clone this repository and runs command below.
# with npm
npm install
# with yarn
yarn install# with npm
npm run bootstrap:dev
# with yarn
yarn bootstrap:devThen open your browser and point to: http://localhost:5175/
# with npm
npm run tailwind:dev
# with yarn
yarn tailwind:devThen open your browser and point to: http://localhost:5173/
# with npm
npm run bootstrap:prod
# with yarn
yarn bootstrap:prod# with npm
npm run tailwind:prod
# with yarn
yarn tailwind:prod