Scaffold lightweight UI boilerplate including typescript, webcomponents, lit-element and webpack.
$ npx create-component-ui
install create-component-ui globally
$ npm i -g create-component-ui
run create-component-ui
inside the directory where you want to scaffold the project
$ create-component-ui
-
cd
into project boilerplate. -
Run
npm run watch
to start the webpack. It will create dist directory with the bundled code and keep watching for changes.OR
-
Run
npm start
to start the webpack dev server. It will automatically open the home page of boilerplate in the browser. -
Run
npm run build
to create the optimized, minified and production ready code insidedist
directory.