Skip to content

Commit 6b20432

Browse files
committed
Updates docs
1 parent 2472c53 commit 6b20432

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,10 @@ Add the framework as a dependency in your project:
2323
Import assets and create a controller in your JavaScript:
2424

2525
```javascript
26-
import '@djthorpe/js-framework/dist/assets/fonts/bootstrap-icons.woff';
27-
import '@djthorpe/js-framework/dist/assets/fonts/bootstrap-icons.woff2';
28-
29-
// Controllers
30-
import { Controller } from '@djthorpe/js-framework';
26+
const jsframework = require('@djthorpe/js-framework');
3127

3228
// Run application
3329
window.addEventListener('DOMContentLoaded', () => {
34-
const jsframework = require('@djthorpe/js-framework');
3530
const app = jsframework.Controller.New(Controller);
3631
app.main();
3732
});

0 commit comments

Comments
 (0)