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

1.2.3 • 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 How to use tsup-tutorial package in your react or nextjs project.

Readme

Keywords

Package Sidebar

Install

npm i tsup-tutorial-test

Weekly Downloads

0

Version

1.2.3

License

MIT

Unpacked Size

44.5 kB

Total Files

24

Last publish

Collaborators

  • minhluuq3113