https://github.com/matuzalemsteles/metal-parcel-example
Minimum viable Metal app with Parcel Bundler
https://github.com/matuzalemsteles/metal-parcel-example
metaljs parcel parcel-bundler web-components
Last synced: about 1 month ago
JSON representation
Minimum viable Metal app with Parcel Bundler
- Host: GitHub
- URL: https://github.com/matuzalemsteles/metal-parcel-example
- Owner: matuzalemsteles
- License: other
- Created: 2017-12-08T00:44:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-08T02:04:19.000Z (over 8 years ago)
- Last Synced: 2025-02-16T02:36:00.383Z (over 1 year ago)
- Topics: metaljs, parcel, parcel-bundler, web-components
- Language: CSS
- Size: 34.2 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-parcel - Metal.js - Simple example with Metal.js. (Examples)
- awesome-metaljs - Metal app with Parcel Bundler
README
# Metal Parcel Example
A minimum viable [Metal](https://metaljs.com) app with [Parcel Bundler](https://parceljs.org/)
**What's inside?**
* `parcel-bundler`
* `metal-jsx`
* `metal-web-component`
* `babel-preset-metal-jsx`
## Getting started
1. Git clone
```
git clone git@github.com:matuzalemsteles/metal-parcel-example.git
```
2. Enter the folder
```
cd metal-parcel-example
```
3. Install local dependencies:
```
npm install
```
4. Start the demo server:
```
npm run start
```
Then open `http://localhost:1234`.
## Building for Production
```
npm run build
```
This will compile your JS and copy your index.html to the **dist** folder.