Prerequisites
Make sure you have the following installed:- Node.js (v14 or higher)
- npm (comes with Node.js)
- Git
Installation Steps
Install dependencies
Install all dependencies from the project root:This installs dependencies for the root workspace and all packages, including the runtime package.
Build the runtime
Navigate to the runtime package and build it:This creates the compiled framework file at
packages/runtime/dist/glyphui.js.Project Structure
After installation, your project structure will look like this:Using GlyphUI in Your Project
Once built, you can import GlyphUI functions and classes in your JavaScript files:Running Examples
To explore the included examples:Open examples in browser
Navigate to the examples in your browser:
- Counter:
http://localhost:8080/examples/counter/counter.html - Hello World:
http://localhost:8080/examples/hello-world/hello.html - Todo App:
http://localhost:8080/examples/vercel-todo/index.html
http://localhost:8080/examples/Development Workflow
When developing with GlyphUI:- Make changes to the runtime source in
packages/runtime/src/ - Rebuild the framework:
cd packages/runtime && npm run build - Refresh your browser to see changes
Next Steps
Quickstart
Build your first GlyphUI app in minutes
Core Concepts
Learn the fundamentals of GlyphUI