Giter Site home page Giter Site logo

tatulund / tabsheet Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 2.0 666 KB

A simple TabSheet component for Vaadin 23 implement using LitElement based web component

License: Other

TypeScript 13.74% CSS 0.42% Java 82.97% JavaScript 2.88%
component java layout lit-element typescript vaadin vaadin23 web-component webcomponents

tabsheet's Introduction

Published on Vaadin  Directory Stars on Vaadin Directory

TabSheet

Vaadin 23 Java integration of tab-sheet web component.

Development instructions

JavaScript modules can either be published as an NPM package or be kept as local files in your project. The local JavaScript modules should be put in src/main/resources/META-INF/frontend so that they are automatically found and used in the using application.

If the modules are published then the package should be noted in the component using the @NpmPackage annotation in addition to using @JsModule annotation.

Starting the test/demo server:

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

Publishing to Vaadin Directory

You can create the zip package needed for Vaadin Directory using

mvn versions:set -DnewVersion=1.0.0 # You cannot publish snapshot versions 
mvn install -Pdirectory

The package is created as target/tabsheet-1.0.0.zip

For more information or to upload the package, visit https://vaadin.com/directory/my-components?uploadNewComponent

tabsheet's People

Contributors

samie avatar tatulund avatar

Watchers

 avatar  avatar  avatar

Forkers

johannest samie

tabsheet's Issues

Compilation failure on V14

When using the component v 0.1.0 from Directory the following compilation error happens with Vaadin 14.8.13:

[webpack] ERROR dev-webpack - ERROR in /project/node_modules/@vaadin/flow-frontend/tab-sheet.ts
[webpack] ERROR dev-webpack - ../node_modules/@vaadin/flow-frontend/tab-sheet.ts
[webpack] ERROR dev-webpack - [tsl] ERROR in /project/node_modules/@vaadin/flow-frontend/tab-sheet.ts(205,13)
[webpack] ERROR dev-webpack -       TS6133: 'theme' is declared but its value is never read.
[webpack] ERROR dev-webpack - ? ?wdm?: Failed to compile.

Using version 1.6.0 gives the following frontend compilation error with Vaadin 14.8.13:

[webpack] ERROR dev-webpack - ERROR in ../node_modules/@vaadin/flow-frontend/tab-sheet.ts
[webpack] ERROR dev-webpack - Module not found: Error: Can't resolve '@vaadin/vaadin-icon' in '/project/node_modules/@vaadin/flow-frontend'
[webpack] ERROR dev-webpack -  @ ../node_modules/@vaadin/flow-frontend/tab-sheet.ts 8:0-29
[webpack] ERROR dev-webpack -  @ ../target/frontend/generated-flow-imports.js
[webpack] ERROR dev-webpack - ERROR in ../node_modules/@vaadin/flow-frontend/tab-sheet.ts

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.