Changeset 35496 for main/trunk/model-interfaces-dev/atea
- Timestamp:
- 2021-09-27T16:42:19+13:00 (3 years ago)
- Location:
- main/trunk/model-interfaces-dev/atea/korero-maori-asr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-interfaces-dev/atea/korero-maori-asr/README.md
r35454 r35496 23 23 ### Compile and minify for production 24 24 25 Firstly, development-specific code needs to be changed.25 1. In `vue.config.js`, uncomment the `publicPath` property, and optionally change it to point to where your production distribution will be placed relative to the interface. 26 26 27 1. In `TranscribeModule.js` rename the transcribe methods to stop the test data being returned. 28 29 ```js 30 -- async transcribeFiles(files) { 31 ++ async transcribeFilesTest(files) { 32 // And 33 -- async transcribeFilesActual(files) { 34 ++ async transcribeFiles(files) { 35 ``` 36 37 2. In `vue.config.js`, uncomment the `publicPath` property, and optionally change it to point to where your production distribution will be placed relative to the interface. 38 39 3. Finally, build the project. 27 2. Build the project. 40 28 ``` 41 29 npm run build -
main/trunk/model-interfaces-dev/atea/korero-maori-asr/vue.config.js
r35454 r35496 5 5 */ 6 6 module.exports = { 7 // publicPath: "interfaces/ {$interface_name}/korero-maori-asr/dist",7 // publicPath: "interfaces/atea/korero-maori-asr/dist", 8 8 filenameHashing: false, // Allows us to easily setup direct links in our asr.xsl. You may want to change this for production in order to help with caching 9 9
Note:
See TracChangeset
for help on using the changeset viewer.