# component2-lib

> Do not use. Just testing NPM packages

Latest version **1.0.3** (published 2023-02-06) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install component2-lib
pnpm add component2-lib
yarn add component2-lib
bun add component2-lib
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2023-02-06 |
| First published | 2023-02-06 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 33 |
| Unpacked size | 197.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | jtuikkala |

## Links

- npm: https://www.npmjs.com/package/component2-lib
- npm.io page: https://npm.io/package/component2-lib

## Dependencies (33)

- [lit](https://npm.io/package/lit.md) 2.6.1
- [react](https://npm.io/package/react.md) ^18.2.0
- [react-dom](https://npm.io/package/react-dom.md) ^18.2.0
- [classnames](https://npm.io/package/classnames.md) ^2.3.2
- [@hilla/form](https://npm.io/package/@hilla/form.md) 1.3.5
- [@vaadin/icon](https://npm.io/package/@vaadin/icon.md) 23.3.5
- [line-awesome](https://npm.io/package/line-awesome.md) 1.3.0
- [@vaadin/icons](https://npm.io/package/@vaadin/icons.md) 23.3.5
- [@vaadin/router](https://npm.io/package/@vaadin/router.md) 1.7.4
- [@hilla/frontend](https://npm.io/package/@hilla/frontend.md) 1.3.5
- [@vaadin/bundles](https://npm.io/package/@vaadin/bundles.md) 23.3.5
- [@vaadin/tooltip](https://npm.io/package/@vaadin/tooltip.md) 23.3.5
- [@polymer/polymer](https://npm.io/package/@polymer/polymer.md) 3.5.1
- [react-router-dom](https://npm.io/package/react-router-dom.md) ^6.4.2
- [@polymer/iron-icon](https://npm.io/package/@polymer/iron-icon.md) 3.0.1
- [@vaadin/vaadin-icon](https://npm.io/package/@vaadin/vaadin-icon.md) 23.3.5
- [@vaadin/vaadin-icons](https://npm.io/package/@vaadin/vaadin-icons.md) 23.3.5
- [@hilla/react-components](https://npm.io/package/@hilla/react-components.md) 1.3.5
- [@vaadin/common-frontend](https://npm.io/package/@vaadin/common-frontend.md) 0.0.17
- [@vaadin/vaadin-lumo-styles](https://npm.io/package/@vaadin/vaadin-lumo-styles.md) 23.3.5
- [@vaadin/vaadin-themable-mixin](https://npm.io/package/@vaadin/vaadin-themable-mixin.md) 23.3.5
- [@vaadin/polymer-legacy-adapter](https://npm.io/package/@vaadin/polymer-legacy-adapter.md) 23.3.5
- [@vaadin/vaadin-material-styles](https://npm.io/package/@vaadin/vaadin-material-styles.md) 23.3.5
- [@hilla/generator-typescript-cli](https://npm.io/package/@hilla/generator-typescript-cli.md) 1.3.5
- [construct-style-sheets-polyfill](https://npm.io/package/construct-style-sheets-polyfill.md) 3.1.0
- [@hilla/generator-typescript-core](https://npm.io/package/@hilla/generator-typescript-core.md) 1.3.5
- [@hilla/generator-typescript-utils](https://npm.io/package/@hilla/generator-typescript-utils.md) 1.3.5
- [@vaadin-component-factory/vcf-nav](https://npm.io/package/@vaadin-component-factory/vcf-nav.md) 1.0.6
- [@hilla/generator-typescript-plugin-push](https://npm.io/package/@hilla/generator-typescript-plugin-push.md) 1.3.5
- [@hilla/generator-typescript-plugin-model](https://npm.io/package/@hilla/generator-typescript-plugin-model.md) 1.3.5
- [@hilla/generator-typescript-plugin-barrel](https://npm.io/package/@hilla/generator-typescript-plugin-barrel.md) 1.3.5
- [@hilla/generator-typescript-plugin-client](https://npm.io/package/@hilla/generator-typescript-plugin-client.md) 1.3.5
- [@hilla/generator-typescript-plugin-backbone](https://npm.io/package/@hilla/generator-typescript-plugin-backbone.md) 1.3.5

## Recent versions

- 1.0.3 (latest) — 2023-02-06
- 1.0.2 — 2023-02-06

## README

# Custom project from Hilla

This project can be used as a starting point to create your own Hilla application with Spring Boot.
It contains all the necessary configuration and some placeholder files to get you started.

## Running the application

The project is a standard Maven project. To run it from the command line,
type `mvnw` (Windows), or `./mvnw` (Mac & Linux), then open
http://localhost:8080 in your browser.

You can also import the project to your IDE of choice as you would with any
Maven project.

## Deploying to Production

To create a production build, call `mvnw clean package -Pproduction` (Windows),
or `./mvnw clean package -Pproduction` (Mac & Linux).
This will build a JAR file with all the dependencies and front-end resources,
ready to be deployed. The file can be found in the `target` folder after the build completes.

Once the JAR file is built, you can run it using
`java -jar target/myapp-1.0-SNAPSHOT.jar` (NOTE, replace
`myapp-1.0-SNAPSHOT.jar` with the name of your jar).

## Project structure

<table style="width:100%; text-align: left;">
  <tr><th>Directory</th><th>Description</th></tr>
  <tr><td><code>frontend/</code></td><td>Client-side source directory</td></tr>
  <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>index.html</code></td><td>HTML template</td></tr>
  <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>index.ts</code></td><td>Frontend 
entrypoint, bootstraps a React application</td></tr>
  <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>routes.tsx</code></td><td>React Router routes definition</td></tr>
  <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>MainLayout.tsx</code></td><td>Main 
layout component, contains the navigation menu, uses <a href="https://hilla.dev/docs/react/components/app-layout">
App Layout</a></td></tr>
  <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>views/</code></td><td>UI view 
components</td></tr>
  <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>themes/</code></td><td>Custom  
CSS styles</td></tr>
  <tr><td><code>src/main/java/&lt;groupId&gt;/</code></td><td>Server-side 
source directory, contains the server-side Java views</td></tr>
  <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<code>Application.java</code></td><td>Server entry-point</td></tr>
</table>

## Useful links

- Read the documentation at [hilla.dev/docs](https://hilla.dev/docs/).
- Ask questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/hilla) or join our [Discord channel](https://discord.gg/MYFq5RTbBn).
- Report issues, create pull requests in [GitHub](https://github.com/vaadin/hilla).

---
_Source: https://npm.io/package/component2-lib · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
