https://github.com/fuse-box/shimming-and-css-example
https://github.com/fuse-box/shimming-and-css-example
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fuse-box/shimming-and-css-example
- Owner: fuse-box
- Created: 2017-02-01T08:03:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-04T15:59:48.000Z (over 9 years ago)
- Last Synced: 2025-01-12T11:32:06.763Z (over 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# shimming-and-css-example
An example how to shim jquery and "fix" a required css from npm
```js
import "jstree/dist/jstree.js";
import "jstree/dist/themes/default/style.css";
```
FuseBox will automatically copy resources from the target css `jstree/dist/themes/default/style.css`
re-write paths and create `css-resources` folder
```
npm install
node fuse
```
Visit `http://localhost:7775/`