npm installnpm start: Initialize the development servernpm build: Optional, Generate a build of your project from the html file index.html.
src
|- my-component
| |- my-component.{js,jsx,ts,tsx}
| |- my-component.test.js
| |- README.md
|- components.js # import all componentsThe
npm run create:componentcommand, will create a webcomponent with the recommended structure.
Create a new webcomponent inside src, according to the recommended structure.
initialize Vite server
package the app using de Vite
Create a base component