Tsup Tutorial
The TSUP Tutorial NPM package explains how to use the TSUP library to bundle typescript projects.
Importing package
// import Header Footer
import { Header , Footer } from "tsup-tutorial";
const { Header , Footer } = require("tsup-tutorial");
// Button
import { Button } from "tsup-tutorial/Button";
const { Button } = require("tsup-tutorial/Button");
// Headings
import { H1, H2, H3 } from "tsup-tutorial/Headings";
const { H1, H2, H3 } = require("tsup-tutorial/Headings");
// Icons
import { IconGithub, IconTwitter, IconInstagram, IconLinkedin, IconMastodon } from "tsup-tutorial/Icons";
const { IconGithub, IconTwitter, IconInstagram, IconLinkedin, IconMastodon } = require("tsup-tutorial/Icons");
// style
import "tsup-tutorial/styles.css";
require("tsup-tutorial/styles.css");
Live Example
Live example How to use tsup-tutorial package in your react or nextjs project.