@lolyjs/cli
v1.0.0-alpha.1
Published
Create a new Loly application
Maintainers
Readme
create-loly-app
Scaffold a new Loly application with a single command.
Homepage: https://loly.dev/
Usage
# Using npx
npx create-loly-app my-app
# Using pnpm
pnpm create loly-app my-app
# Using npm
npm create loly-app my-app
# Using yarn
yarn create loly-app my-app
# Using a specific template
npx create-loly-app my-app --template templateIf you don't provide a project name, you'll be prompted to enter one.
Template Selection
You can specify a template using the --template flag:
npx create-loly-app my-app --template templateIf no template is specified, the default template will be used.
What it does
- Creates a new directory with your project name
- Copies the Loly template with all necessary files
- Configures
package.jsonwith your project name - Installs all dependencies automatically
- Sets up TypeScript, Tailwind CSS, and all required configurations
Next steps
After creating your project:
cd my-app
pnpm dev # or npm run dev, yarn devRequirements
- Node.js 18+
- A package manager (pnpm, npm, or yarn)
Resources
- Documentation: https://loly.dev/
- GitHub: https://github.com/MenvielleValen/loly-framework
How it works
The CLI downloads the template directly from the GitHub repository. It automatically:
- Fetches the latest version of
@lolyjs/corefrom npm - Downloads the template from the repository
- Copies all necessary files
- Installs dependencies
- Builds the project
