Note: BoltJS is no more maintained, and a new framework Forel is being used. BoltJS will discontinue from 25th December, and Forel will takeover
BoltUI is a new web framework that allows you to write comprehensive web apps without lossing any performance, by using the native methods and functional approach, it achieves all the functionality any modern framework would using only minimal code.
BoltUI is highly customizable and Hence it can be used any way you wish.
To get started, create a new vite app:
$ npm create vite@latest
And create a vanillaJS project. After you create your project:
$ cd your_project
$ npm i boltjs-preview
[Package installer logs]
Now you can create a simple app in the main.js file:
import { render } from 'bolt-preview-beta'
import { div, h1 } from 'bolt-preview-beta/components'
function App() {
return div(
h1("Hello World")
)
}
render("app", App())
Now you have a very simple app!
To get started with all the features in this beta, visit the docs: https://creatorlabs.gitbook.io/boltui-docs-preview/
Happy coding!