tsup-tutorial
TypeScript icon, indicating that this package has built-in type declarations

1.0.18 • Public • Published

Tsup Tutorial

The TSUP Tutorial NPM package explains how to use the TSUP library to bundle typescript projects.


TypeScript

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.

Readme

Keywords

Package Sidebar

Install

npm i tsup-tutorial

Weekly Downloads

1

Version

1.0.18

License

MIT

Unpacked Size

36.8 kB

Total Files

16

Last publish

Collaborators

  • officialrajdeepsingh