是不是写完一个项目,在为readme发愁?以下参考了比较好的项目的readme,大家可以直接复制拿去用,节省时间~如果喜欢赏个star~
English | 简体中文
<p align=”center”><img width=”100″ src=”https://user-gold-cdn.xitu.io…;h=400&f=png&s=3451″></p>
<p align=”center”>
<img src=”https://img.shields.io/circle…; alt=”Build Status”>
<img src=”https://img.shields.io/codeco…; alt=”Coverage Status”>
<img src=”https://img.shields.io/npm/dm…; alt=”Downloads”>
<img src=”https://img.shields.io/npm/v/…; alt=”Version”>
<img src=”https://img.shields.io/npm/l/…; alt=”License”>
</p>
<h2 align=”center”>ZARA – 下一代前端框架(主标题)</h2>
<p align=”center”>基于 Web Components 并支持 IE8(简单介绍)</p>
目录
生态
项目 | 描述 |
---|---|
ZARA-docs | 官方文档 |
ZARA | 直接使用 ZARA 开发小程序!!! |
特性
- 小巧的尺寸
- 支持
TypeScript
必须收藏的资源
快速入门
安装
$ npm i zara-cli -g # install cli
$ omi init my-app # init project, you can also exec 'omi init' in an empty folder
$ cd my-app # please ignore this command if you executed 'omi init' in an empty folder
$ npm start # develop
$ npm run build # release
目录说明:
├─ config
├─ public
├─ scripts
├─ src
│ ├─ assets
│ ├─ elements //存放所有 custom elements
│ ├─ store //存放所有页面的 store
│ ├─ admin.js //入口文件,会 build 成 admin.html
│ └─ index.js //入口文件,会 build 成 index.html
用法
<template>
<Slider v-model="value" range />
</template>
<script>
export default {
data() {
return {
value: [20, 50]
};
}
};
</script>
贡献者们
<img width=”60px” src=”https://user-gold-cdn.xitu.io…;h=460&f=jpeg&s=28120″> |