bb-vue
bb-vue copied to clipboard
Use Vue inside BitBurner! Built with Vue 3, SCSS support, an app tray, a window manager, and various components to help you get started.
bb-vue
Use Vue inside BitBurner!
- Built with Vue 3 and SCSS support
- Includes an app tray for all your apps
- Window manager to drag, minimize, resize, and dynamically position windows
- Various components to help you get started
From custom UI extensions to reactive data storage, hacking in BitBurner has never been easier 😎
Getting Started
- Move to home device, root dir in game
-
nano bbv-inst.js
- Copy in script from install.js and save
- Back to terminal
-
run /bbv-inst.js
-
run /bb-vue/examples/0-getting-started.js
-
- Run bb-vue
-
run /bb-vue/examples/1-the-app-tray.js
-
- Explore examples
-
nano /bb-vue/examples/0-getting-started.js
-
nano /bb-vue/examples/1-the-app-tray.js
-
Changelog
dev
- A new architecture that allows for more user-control
- Beginnings of a component library for creating UIs quickly
v0.0.1
- An actual GitHub repo!
- Something of a proper architecture, but still very WIP...
- An
Orchestrator
class with a tick rate, a command queue, and extensive callback support - An
EventBus
class for communicating across modules - A reactive
Store
class for syncing NetScript and Vue UI layers - A
UI
class for bootstrapping the demo Vue app and mounting it
- An
- An example
CommandPalette
component which creates async NetScript commands to be run by theOrchestrator
and reports on their status - All UI components are now imported from their own files! Almost like Vue SFCs, but decidedly more punk
- The beginnings of a central dashboard (something of an example of what can be done with the library thus far)