File tree Expand file tree Collapse file tree 5 files changed +6
-5
lines changed
barcode-scanner-api-samples/scan-single-barcode Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 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 {
Original file line number Diff line number Diff line change 11import { Component } from '@angular/core' ;
2- import { RouterOutlet } from '@angular/router' ;
32import { 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} )
Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ import react from '@vitejs/plugin-react'
44// https://vite.dev/config/
55export default defineConfig ( {
66 plugins : [ react ( ) ] ,
7+ base : "./"
78} )
Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ import vue from '@vitejs/plugin-vue'
44// https://vite.dev/config/
55export default defineConfig ( {
66 plugins : [ vue ( ) ] ,
7+ base : "./"
78} )
You can’t perform that action at this time.
0 commit comments