diff --git a/How to/Custom Fonts/package.json b/How to/Custom Fonts/package.json
index 9f5dd14..9c710b8 100644
--- a/How to/Custom Fonts/package.json
+++ b/How to/Custom Fonts/package.json
@@ -10,8 +10,13 @@
"dependencies": {
"@syncfusion/ej2-vue-pdfviewer": "*",
"@syncfusion/ej2-base": "*",
+ "buffer": "^6.0.3",
"core-js": "^3.8.3",
- "vue": "^2.6.14"
+ "crypto-browserify": "^3.12.0",
+ "stream-browserify": "^3.0.0",
+ "util": "^0.12.5",
+ "vm-browserify": "^1.1.2",
+ "vue": "^3.2.13"
},
"devDependencies": {
"@babel/core": "^7.12.16",
@@ -20,8 +25,7 @@
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"eslint": "^7.32.0",
- "eslint-plugin-vue": "^8.0.3",
- "vue-template-compiler": "^2.6.14"
+ "eslint-plugin-vue": "^8.0.3"
},
"eslintConfig": {
"root": true,
@@ -40,6 +44,7 @@
"browserslist": [
"> 1%",
"last 2 versions",
- "not dead"
+ "not dead",
+ "not ie 11"
]
}
diff --git a/How to/Custom Fonts/src/App.vue b/How to/Custom Fonts/src/App.vue
index 58fae1a..0266fd0 100644
--- a/How to/Custom Fonts/src/App.vue
+++ b/How to/Custom Fonts/src/App.vue
@@ -11,20 +11,20 @@
-
-
-
diff --git a/How to/Custom Fonts/src/main.js b/How to/Custom Fonts/src/main.js
index 63eb05f..01433bc 100644
--- a/How to/Custom Fonts/src/main.js
+++ b/How to/Custom Fonts/src/main.js
@@ -1,8 +1,4 @@
-import Vue from 'vue'
+import { createApp } from 'vue'
import App from './App.vue'
-Vue.config.productionTip = false
-
-new Vue({
- render: h => h(App),
-}).$mount('#app')
+createApp(App).mount('#app')