https://github.com/sneas/web-component-typescript-starter
Web Component with Typescript, SASS, and Webpack. This is the best example on GitHub, really.
https://github.com/sneas/web-component-typescript-starter
sass typescript web-components webpack
Last synced: 2 months ago
JSON representation
Web Component with Typescript, SASS, and Webpack. This is the best example on GitHub, really.
- Host: GitHub
- URL: https://github.com/sneas/web-component-typescript-starter
- Owner: sneas
- License: mit
- Created: 2021-05-29T10:15:38.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-31T13:58:12.000Z (about 5 years ago)
- Last Synced: 2025-02-02T00:50:09.208Z (over 1 year ago)
- Topics: sass, typescript, web-components, webpack
- Language: TypeScript
- Homepage:
- Size: 671 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# web-component-typescript-starter
This project provides a structure for developing and distributing web components bundled into a single JS file.
No frameworks. No 3rd party libraries. Only Webpack sprinkled with Typescript and SASS.
## Project Folders
- `src` - code of components. This will be bundled into a single `dist/index.js` file by running `npm build`. The `dist` folder could be distributed to NPM.
- `public` - assets for developing and demoing the web components. Will be bundled into `demo` folder by running `npm run demo`. The `demo` folder could be distributed to, for example, GitHub Pages.