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.
- Host: GitHub
- URL: https://github.com/uiwjs/uiw-example-parcel
- Owner: uiwjs
- Created: 2018-03-19T07:11:06.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-03-28T20:48:47.000Z (12 months ago)
- Last Synced: 2025-03-28T21:31:36.280Z (12 months ago)
- Topics: parcel, parcel-bundler, parceljs, react, uiw, uiw-react
- Language: JavaScript
- Homepage: https://uiwjs.github.io/uiw-example-parcel
- Size: 2.37 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
uiw-example-parcel
===
[](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 (
Welcome to React
To get started, edit src/App.js and save to reload.
+ 主要按钮
+ 成功按钮
+ 警告按钮
+ 错误按钮
+ 亮按钮
+ 暗按钮
);
}
}
export default App;
```
### License
Licensed under the MIT License