GithubHelp home page GithubHelp logo

oracle-jet-integration's Introduction

Oracle JET web component integrations for Vaadin

List of components:

  • OjButton

Development instructions

Starting the test/demo server:

  1. Run mvn jetty:run.
  2. Open http://localhost:8080 in the browser.

Usage in Vaadin Application Project

See the example here: https://github.com/vaadin/skeleton-starter-flow/compare/demo/oracle-jet?expand=1 You need to clone this project and install it first (mvn install)

Or try to follow the steps:

  1. Clone this component project locally
  2. Run mvn install for this component project to get the artifact to your local Maven repository
  3. Switch to your application project, and start it up once (start server)
  4. Include the JET component artifact to your application project pom.xml using:
<dependency>
  <groupId>org.jetflow</groupId>
  <artifactId>oracle-jet-vaadin-integration</artifactId>
  <version>1.0-SNAPSHOT</version>
</dependency>
  1. Remove the vaadin-maven-plugin's prepare-frontend goal from pom.xml so that it will not recreate stuff
  2. In your application project, modify the file webpack.generated.js by removing the BabelMultiTargetPlugin from plugins:
 plugins: [
    // Transpile with babel, and produce different bundles per browser
    new BabelMultiTargetPlugin({
     // this plugin needs to be removed
    }),

And switch the first module.rules to

  module: {
    rules: [
      { // Files that Babel has to transpile
        test: /\.js$/,
        use: 'babel-loader'
      },
  1. Copy the webpack.config.js file from this project to the application project. It is needed for making sure Oracle JET frontend sources are imported properly and modified a bit.
  2. Copy the folder plugins from this project to the application project.
  3. Copy the folder loaders from this project to the application project.

Patches Welcome

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.