An open API service indexing awesome lists of open source software.

https://github.com/uiwjs/uiw-example-parcel

Using @uiwjs in @parcel-bundler.
https://github.com/uiwjs/uiw-example-parcel

parcel parcel-bundler parceljs react uiw uiw-react

Last synced: 2 months ago
JSON representation

Using @uiwjs in @parcel-bundler.

Awesome Lists containing this project

README

          

uiw-example-parcel
===

[![CI](https://github.com/uiwjs/uiw-example-parcel/actions/workflows/ci.yml/badge.svg)](https://github.com/uiwjs/uiw-example-parcel/actions/workflows/ci.yml)

This project is build on [@parcel-bundler](https://github.com/parcel-bundler/parcel).

## Modify Content

[package.json](https://github.com/uiwjs/uiw-example-parcel/blob/5c13ae225eabb509ba1d67871a42028a51d343e9/package.json#L13-L28)

```diff
{
"name": "uiw-example",
"version": "0.1.0",
"private": true,
"dependencies": {
+ "uiw": "^4.6.13"
}
}
```

[src/App.js](https://github.com/uiwjs/uiw-example-parcel/blob/5c13ae225eabb509ba1d67871a42028a51d343e9/src/App.js#L2)

```diff
import React, { Component } from 'react';
+ import { Button } from 'uiw';
import logo from './logo.svg';
import './App.css';

class App extends Component {
render() {
return (



logo

Welcome to React




To get started, edit src/App.js and save to reload.


+ 主要按钮
+ 成功按钮
+ 警告按钮
+ 错误按钮
+ 亮按钮
+ 暗按钮

);
}
}

export default App;
```

### License

Licensed under the MIT License