@ilb/filedossiercomponent-antd
v1.0.1
Published
## At the moment, only the FileContent component is available for use.
Downloads
11
Keywords
Readme
Filedossier frontend + components v2
At the moment, only the FileContent component is available for use.
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
npm i react react-dom antd @ant-design/icons
npm start
'npm i'
'npm run dev'