A core library for BuildX, a Three.js and data processing interface.
npm install @opensystemslab/buildx-coreA core library for BuildX, a Three.js and data processing interface.
``bash`
pnpm install @opensystemslab/buildx-core
Clone the repository:
`bash
git clone https://github.com/theopensystemslab/buildx-core.git
cd buildx-core
`
Install dependencies:
`bash`
pnpm install
Configure Airtable:
Create a .env file in the root directory with your Airtable access token:
`bash`
VITE_AIRTABLE_ACCESS_TOKEN=your_access_token_here
You can obtain an access token from your Airtable account settings.
Start the development server:
`bash`
pnpm dev
Access examples by navigating to localhost:5173/examples/
See the examples directory
`bash`
pnpm build
Builds the project to dist/
You can then pnpm link --global here and pnpm link --global @opensystemslab/core from consuming projects
Publish with npm publish` as usual