create-webcomp
v1.0.6
Published
create-webcomp allows you to quickly scaffold a new web components project.
Downloads
18
Readme
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
- Standalone JavaScript
└── components
├── MyApp.js
└── MyCounter.js
- CSS + JavaScript
└── components
├── my-app
│ ├── index.js
│ └── style.css
└── my-counter
├── index.js
└── style.css
- HTML + CSS + JavaScript
└── components
├── my-app
│ ├── index.html
│ ├── index.js
│ └── style.css
└── my-counter
├── index.html
├── index.js
└── style.css