Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Files

Latest commit

 

History

History
53 lines (41 loc) · 1.03 KB

README.md

File metadata and controls

53 lines (41 loc) · 1.03 KB

mathmodal

Create custom bootstrap by running

npm install
npm run build

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Run below command in browser console to show popup

window.mathModal.ckeditor.mathtext['modal']('');

Compiles and minifies for production

npm run build

A custom build of bootstrap 4 is generated to reduce the css file size.

nvm use 8
npm run build

Reference

https://dev.to/ratracegrad/how-to-reduce-your-vue-js-bundle-size-with-webpack-4gpf
https://medium.com/@programmiri/my-favored-scss-setup-with-bootstrap-4-547e9ea290f8
https://itnext.io/how-to-boost-vue-js-performance-c7df027ff3f5
https://stackoverflow.com/questions/59003627/how-can-i-optimize-the-size-of-my-js-file-after-webpack-vuejs
https://stackoverflow.com/questions/45725946/bootstrap-4-custom-build-generator-download

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.