create-webcomp

1.0.6 • Public • Published

create-webcomp

This package allows you to quickly scaffold a new web components project powered by Vite.

Scaffolding Your First Web Components Project

With NPM:

npm create webcomp@latest

With PNPM:

pnpm create webcomp

Then follow the prompts. You can use . for the project name to scaffold in the current directory.

Available Web Components Structure/Templates

  1. Standalone JavaScript
└── components
    ├── MyApp.js
    └── MyCounter.js
  1. CSS + JavaScript
└── components
    ├── my-app
    │   ├── index.js
    │   └── style.css
    └── my-counter
        ├── index.js
        └── style.css
  1. HTML + CSS + JavaScript
└── components
    ├── my-app
    │   ├── index.html
    │   ├── index.js
    │   └── style.css
    └── my-counter
        ├── index.html
        ├── index.js
        └── style.css

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.60latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.60
1.0.50
1.0.41
1.0.30
1.0.21
1.0.10
1.0.00

Package Sidebar

Install

npm i create-webcomp

Weekly Downloads

2

Version

1.0.6

License

MIT

Unpacked Size

50.7 MB

Total Files

890

Last publish

Collaborators

  • heybran