Skip to content

Commit be7639e

Browse files
committed
update
1 parent 540f8e3 commit be7639e

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

barcode-scanner-api-samples/scan-single-barcode/angular/angular.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,15 @@
2929
"styles": [
3030
"src/styles.css"
3131
],
32-
"scripts": []
32+
"scripts": [],
33+
"baseHref": "./"
3334
},
3435
"configurations": {
3536
"production": {
3637
"budgets": [
3738
{
3839
"type": "initial",
39-
"maximumWarning": "500kB",
40+
"maximumWarning": "1000kb",
4041
"maximumError": "1MB"
4142
},
4243
{

barcode-scanner-api-samples/scan-single-barcode/angular/src/app/app.component.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import { Component } from '@angular/core';
2-
import { RouterOutlet } from '@angular/router';
32
import { BarcodeScanner } from '@dynamsoft/dynamsoft-barcode-reader-bundle';
43

54
@Component({
65
selector: 'app-root',
7-
imports: [RouterOutlet],
86
templateUrl: './app.component.html',
97
styleUrl: './app.component.css'
108
})

barcode-scanner-api-samples/scan-single-barcode/react/vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ import react from '@vitejs/plugin-react'
44
// https://vite.dev/config/
55
export default defineConfig({
66
plugins: [react()],
7+
base: "./"
78
})

barcode-scanner-api-samples/scan-single-barcode/vue/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ onMounted(() => {
2424
<template>
2525
<div class="barcode-scanner-hello-world-page">
2626
<div class="barcode-scanner-title">
27-
<h2 class="barcode-scanner-title-text">Hello World for Veu</h2>
27+
<h2 class="barcode-scanner-title-text">Hello World for Vue</h2>
2828
<img class="barcode-scanner-title-logo" :src="vueLogo" alt="logo"></img>
2929
</div>
3030
<div class="barcode-scanner-view"></div>

barcode-scanner-api-samples/scan-single-barcode/vue/vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ import vue from '@vitejs/plugin-vue'
44
// https://vite.dev/config/
55
export default defineConfig({
66
plugins: [vue()],
7+
base: "./"
78
})

0 commit comments

Comments
 (0)