Quick Start Guide
Get up and running with Snakeskin in less than 5 minutes.
Prerequisites
- Python 3.8+
- Node.js 16+ (for tooling)
1. Installation
Install the package via pip:
bash
pip install snakeskin-xplnhub 2. Create a Project
Scaffold a new project using the CLI:
bash
snakeskin create my-app
cd my-app 3. Start Development
Run the development server:
bash
snakeskin dev Visit http://localhost:3000 to see your app!
4. Your First Component
Edit src/components/App.py:
python
from snakeskin.framework import Component
class App(Component):
def render(self):
return """
<div class="p-10 font-sans">
<h1 class="text-4xl font-bold text-neon-green">Hello Snakeskin!</h1>
<p class="mt-4 text-white">Edit this file to see changes instantly.</p>
</div>
"""