Skip to content
项目

关于

用于生成前端组件的 CLI

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Agrippa logo

Agrippa

Agrippa is a CLI that helps frontend developers generate new components without the boilerplate: in a single command, it can create all the folders and files you need in a full component, with starting code tailored to your stack.


Getting Started    |    Documentation



Quickstart

# 1. Install as dev dep
npm add -D agrippa
 
# 2. Create a config
npx agrippa init

# 3. Generate a component 🚀
npx agrippa gen my-first-component

For a complete introduction, take the short Getting Started tutorial!
Alternatively, if you're already familiar with Agrippa, check out our Set up Agrippa in a project guide.


See it in action

https://user-images.githubusercontent.com/58311807/188754758-1a5ea10b-6227-4c45-9976-bd115a8729c8.mp4


Migrating from v1

Agrippa 2.0 introduces some API changes - the config is now a JS file and is structured a bit differently, and some options have been changed - but at large the functionality and usage is the same as v1.

To get a feel for the new version and see what's new, we recommend taking the new Getting Started tutorial, or the concise Set up Agrippa in a project guide.

Lastly, our new docs site, agrippa.dev, contains reference pages regarding the options and config in v2, which you may find useful.

Community

If you encounter any bugs or errors, or have any feature suggestions, please open an issue!

Also, I'm not actively posting too much on Twitter, but I'd be more than happy to hear your toughts on Agrippa and discuss it with you! Find me @nitzanhen.

Lastly, thank you for being part of the community.
If you like Agrippa and want to see it grow, please spread its word!

探索相关项目

加载中…