Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goern/qeb-hwt-website
https://github.com/goern/qeb-hwt-website
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/goern/qeb-hwt-website
- Owner: goern
- License: mit
- Created: 2019-12-09T21:44:43.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-05T18:05:50.000Z (almost 4 years ago)
- Last Synced: 2023-03-12T15:01:50.800Z (over 1 year ago)
- Language: TypeScript
- Size: 13.6 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Qeb-Hwt
Try http://qeb-hwt.thoth-station.ninja/?adviser_document_id=ff78f479
## Quick-start
```bash
npm install yarn -g # ensure you have yarn on your machine globally
git clone https://github.com/goern/qeb-hwt-website # clone the project
cd qeb-hwt-website # navigate into the project directory
yarn # install patternfly-react-seed dependencies
yarn build # build the project
yarn start # start the development server
```
## Development ScriptsInstall development/build dependencies
`yarn`Start the development server
`yarn start`Run a production build
`yarn build`Run the test suite
`yarn test`Run the linter
`yarn lint`Run the code formatter
`yarn format`Launch a tool to inspect the bundle size
`yarn bundle-profile:analyze`## Configurations
* [TypeScript Config](./tsconfig.json)
* [Webpack Config](./webpack.common.js)
* [Jest Config](./jest.config.js)
* [Editor Config](./.editorconfig)## Raster Image Support
To use an image asset that's shipped with patternfly core, you'll prefix the paths with "@assets". `@assets` is an alias for the patternfly assets directory in node_modules.
For example:
```js
import imgSrc from '@assets/images/g_sizing.png';
```You can use a similar technique to import assets from your local app, just prefix the paths with "@app". `@app` is an alias for the main src/app directory.
```js
import loader from '@app/assets/images/loader.gif';