0.0.21 • Published 10 months ago
@fuxi-eng/header-and-footer v0.0.21
说明
本项目为公共 header and footer 项目。
传参
- TODO
使用方法
- 安装
npm install @fuxi-eng/header-and-footer
- 引入组件
import { Header } from "@fuxi-eng/header-and-footer";
- 使用组件
hello.jsx
import React from "react";
import { Header } from "@fuxi-eng/header-and-footer";
const Hello = () => {
return (
<div>
<Header />
<h1>Hello from header and footer</h1>
</div>
);
};
export default Hello;
本地开发
- 安装依赖
npm install
- 启动项目
npm run dev
- 本地测试
- 在项目目录下执行
npm link
- 在其他项目中执行
npm link @fuxi-eng/header-and-footer
- 在其他项目中引入
import { Header } from "@fuxi-eng/header-and-footer";
发布
以下两个命令选择一个执行即可:
# interactive and allows you to confirm each task before execution
npm run release
# or auto increase version on patch
npm run release-auto;
# more info: https://github.com/release-it/release-it
0.0.20
10 months ago
0.0.21
10 months ago
0.0.19
10 months ago
0.0.17
11 months ago
0.0.18
11 months ago
0.0.16
1 year ago
0.0.15
1 year ago
0.0.14
1 year ago
0.0.13
1 year ago
0.0.12
1 year ago
0.0.11
1 year ago
0.0.10
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago