0.0.21 • Published 9 months ago

@fuxi-eng/header-and-footer v0.0.21

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

说明

本项目为公共 header and footer 项目。

传参

  • TODO

使用方法

  1. 安装
npm install @fuxi-eng/header-and-footer
  1. 引入组件
import { Header } from "@fuxi-eng/header-and-footer";
  1. 使用组件

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;

本地开发

  1. 安装依赖
npm install
  1. 启动项目
npm run dev
  1. 本地测试
  • 在项目目录下执行
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

9 months ago

0.0.21

9 months ago

0.0.19

9 months ago

0.0.17

10 months ago

0.0.18

10 months ago

0.0.16

12 months ago

0.0.15

12 months ago

0.0.14

12 months ago

0.0.13

12 months ago

0.0.12

12 months ago

0.0.11

12 months ago

0.0.10

12 months ago

0.0.9

12 months ago

0.0.8

12 months 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