Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cksachdev/mathmodal
https://github.com/cksachdev/mathmodal
Last synced: about 21 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/cksachdev/mathmodal
- Owner: cksachdev
- Created: 2019-12-04T07:15:40.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T02:18:07.000Z (almost 2 years ago)
- Last Synced: 2023-03-10T23:53:10.654Z (over 1 year ago)
- Language: JavaScript
- Size: 4.81 MB
- Stars: 0
- Watchers: 2
- Forks: 6
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://cli.vuejs.org/config/).