Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cksachdev/mathmodal


https://github.com/cksachdev/mathmodal

Last synced: about 21 hours ago
JSON representation

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/).