Giter Site home page Giter Site logo

filedossiercomponent's Introduction

Filedossier frontend + components v2

Setup

npm install --save @ilb/filedossiercomponent

Import styles (without css-modules!!!)

import '@ilb/filedossiercomponent/src/index.css';

Include privilegedAPI.js script in your app

  // Nextjs example
  import Head from 'next/head';
  ...
  <Head>
    <script key="privilegedAPI" type="text/javascript" src="/privilegedAPI/web/scripts/privilegedAPI.js"></script>
  </Head>

This package is NOT transpiled, you need to use next-transpile-modules

  transpileModules: ['@ilb/filedossiercomponent'],

Usage

development

  1. npm i react react-dom semantic-ui-react

  2. npm start

  3. 'npm i'

  4. 'npm run dev'

filedossiercomponent's People

Contributors

dmitryi698 avatar maximumquiet avatar lianlun1 avatar slavb18 avatar malyushkina avatar sortia avatar lia5 avatar ksenyams avatar

Watchers

 avatar  avatar  avatar

Forkers

ilb

filedossiercomponent's Issues

Зафиксировать заголовок файла

Зафиксировать заголовок файла, чтобы при листании страниц его было видно
Сейчас при листании он пропадает
Для запуска использовать npm run dev в проекте filedossiercomponent

Peek 2021-12-17 14-19

Реализовать работу с относительными ссылками на файлы

Реализовать работу с относительными ссылками на файлы, например:

<link rel="inline" href="/dossierfiles/fairpricecalc?mode=inline"/>

Относительные ссылки включаются настройкой absoluteFileUri=false в filedossier

https://github.com/ilb/filedossier/blob/8caa14a0cb477dcb238f0ce163fafaaf050de4b7/filedossier-web/src/main/webapp/WEB-INF/web.xml#L37-L42

Компонент должен работать совместимо с абсолютными и относительными ссылками

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.