Socket
Book a DemoInstallSign in
Socket

create-eleva-app

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-eleva-app

Create Eleva apps with zero configuration

0.2.0-beta
latest
Source
npmnpm
Version published
Weekly downloads
16
60%
Maintainers
0
Weekly downloads
Β 
Created
Source

Create Eleva App

Eleva Logo

Set up a modern Eleva.js app by running one command.

License npm version Node.js Version

Overview

Create Eleva App is an officially supported way to create Eleva.js applications. It offers a smooth development experience by providing a professional project structure, development server, modern Vite-based build system, and more.

Quick Start

# Using npx (recommended)
npx create-eleva-app my-app

# Using npm
npm init eleva-app my-app

# Using yarn
yarn create eleva-app my-app

# Using pnpm
pnpm create eleva-app my-app

Then follow the prompts to configure your project.

Features

  • πŸš€ Instant Setup: Go from zero to application in seconds
  • πŸ”„ Interactive Experience: Helpful prompts guide you through setup
  • 🧩 Optional Router: Easily add Eleva Router to your project
  • πŸ› οΈ Modern Build System: Powered by Vite for lightning-fast development
  • 🎨 Elegant Structure: Professional project organization
  • πŸ“š Best Practices: Follows Eleva.js recommended patterns
  • πŸ”§ Fully Configurable: Customize to your project needs

Commands

# Create a new project with default settings
npx create-eleva-app my-app

# Skip prompts and use defaults
npx create-eleva-app my-app --yes

# Create a project with router
npx create-eleva-app my-app --router

# Create a project without router
npx create-eleva-app my-app --no-router

# Create a TypeScript project
npx create-eleva-app my-app --typescript

Project Structure

The generated project will have the following structure:

my-app/
β”œβ”€β”€ public/                # Static assets
β”‚   β”œβ”€β”€ favicon.ico
β”‚   └── index.html
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/            # Project assets
β”‚   β”‚   β”œβ”€β”€ styles/
β”‚   β”‚   β”‚   └── main.css
β”‚   β”‚   └── images/
β”‚   β”‚       └── logo.svg
β”‚   β”œβ”€β”€ components/        # Reusable components
β”‚   β”‚   β”œβ”€β”€ App.js
β”‚   β”‚   └── HelloWorld.js
β”‚   β”œβ”€β”€ routes/            # Router-specific files (if enabled)
β”‚   β”‚   β”œβ”€β”€ Home.js
β”‚   β”‚   β”œβ”€β”€ About.js
β”‚   β”‚   └── NotFound.js
β”‚   β”œβ”€β”€ routes.js          # Route definitions (if router enabled)
β”‚   └── main.js            # Application entry point
β”œβ”€β”€ .gitignore
β”œβ”€β”€ package.json
β”œβ”€β”€ README.md
└── vite.config.js

System Requirements

  • Node.js 14.0.0 or later
  • npm 6.0.0 or later, yarn 1.22.0 or later, or pnpm 6.0.0 or later

License

Create Eleva App is open-source software licensed under the MIT license.

Keywords

eleva

FAQs

Package last updated on 14 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.