Giter Club home page Giter Club logo

wux's Introduction

WUX - Wrapped User Experience

A Javascript library to build component based user interface.

Build

  • git clone https://github.com/giosil/wux.git
  • npm install typescript -g
  • tsc --declaration --project ./ts/wux/tsconfig.json

Gulp

Gulp global installation

  • npm install gulp -g
  • npm install gulp-debug -g
  • npm install gulp-rename -g
  • npm install gulp-sourcemaps -g
  • npm install gulp-typescript -g
  • npm install gulp-uglify -g
  • npm install merge-stream -g
  • npm list -g --depth 0

Gulp local installation

  • npm link gulp
  • npm link gulp-debug
  • npm link gulp-rename
  • npm link gulp-sourcemaps
  • npm link gulp-typescript
  • npm link gulp-uglify
  • npm link merge-stream
  • npm link typescript
  • npm list --depth 0
  • gulp --verify

Gulp build

  • gulp

Example

class HelloWorld extends WUX.WComponent {
  protected render() {
    return '<h1>Hello world</h1>';
  }
}
<!DOCTYPE html>
<html lang="it">
<head>
  <title>WUX</title>
</head>
<body>
  <div id="view-root">

  <script src="js/jquery-3.6.1.min.js"></script>
  <script src="dist/wux.min.js"></script>
  <script src="out/hello.js"></script>
  <script type="text/javascript">
    WuxDOM.render(new HelloWorld(), 'view-root');
  </script>
</body>
</html>

Documentation

SVG Logo

<?xml version="1.0" encoding="utf-8"?>
<svg viewBox="0 0 82 72" xmlns="http://www.w3.org/2000/svg">
  <text style="fill: rgb(0, 0, 0); font-family: Consolas; font-size: 50px;" x="0" y="40">{&#x00B5;}</text>
  <text style="fill: rgb(0, 0, 0); font-family: Consolas; font-size: 14px;" x="7" y="65">micro-wux</text>
</svg>

License

License

Contributors

wux's People

Contributors

giosil avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.