import{_ as i,a,b as t,ag as e}from"./chunks/framework.BcrMLAmg.js";const E=JSON.parse('{"title":"Welcome to The Basalt Wiki","description":"","frontmatter":{},"headers":[],"relativePath":"home.md","filePath":"home.md","lastUpdated":1742262455000}'),n={name:"home.md"};function l(h,s,r,p,o,k){return t(),a("div",null,s[0]||(s[0]=[e(`
Welcome to Basalt 2, a complete reimagining of the Basalt UI framework for ComputerCraft. After maintaining the original Basalt, i identified several areas that needed fundamental improvements. This led to the decision to rebuild Basalt from the ground up, focusing on these key aspects:
local basalt = require("basalt")
-- Create a simple UI
basalt.getMainFrame()
:addButton()
:setText("Hello Basalt!")
:setPosition(5, 5)
:setSize(14, 3)
:onClick(function()
-- Your code here
end)
basalt.run()