david 9eedf6f594 Fixed DICOM without pixel metrics & duplicate calibration display há 3 anos atrás
..
build 228fc0d08c De TakaraSoftware vers IIMT há 4 anos atrás
cordova 228fc0d08c De TakaraSoftware vers IIMT há 4 anos atrás
src 9eedf6f594 Fixed DICOM without pixel metrics & duplicate calibration display há 3 anos atrás
static 219ce34585 maj des manuels + popup a propos CE há 4 anos atrás
.editorconfig 228fc0d08c De TakaraSoftware vers IIMT há 4 anos atrás
README.md 228fc0d08c De TakaraSoftware vers IIMT há 4 anos atrás
babel.config.js 228fc0d08c De TakaraSoftware vers IIMT há 4 anos atrás
labels.properties.en 228fc0d08c De TakaraSoftware vers IIMT há 4 anos atrás
labels.properties.fr 228fc0d08c De TakaraSoftware vers IIMT há 4 anos atrás
package-lock.json 228fc0d08c De TakaraSoftware vers IIMT há 4 anos atrás
package.json 228fc0d08c De TakaraSoftware vers IIMT há 4 anos atrás
stats.json 228fc0d08c De TakaraSoftware vers IIMT há 4 anos atrás

README.md

WebpApp

Translator WebApp is full-featured Framework7 with Webpack setup with hot-reload.

Usage

1. Instal dependencies

npm install

2. Run the app

npm run dev

App will be opened in browser at http://localhost:8080/

3. Build app for production

npm run build-prod

The output will be at www/ folder

Use with cordova

Cordova is not enabled by default, so make sure to remove the comment tags around the <script src="cordova.js"></script> line in [projectroot]/src/index.html

<body>
  <div id="app"></div>

  <!-- Cordova -->

  <script src="cordova.js"></script>

  <!-- built script files will be auto injected -->
</body>

It will be added during the build process to Android/iOS.

Just put the contents of www folder in your cordova's project root www folder

Project Structure

  • src/index.html - main app HTML
  • src/css - put custom app CSS styles here. Don't forget to import them in main.js
  • src/pages - app .f7.html pages
  • src/app.js - main app file where you include/import all required libs and init app
  • src/routes.js - app routes
  • /static/ - folder with extra static assets that will be copied into output folder