1金币
本帖最后由 Joestar.Xu 于 2024-9-9 12:06 编辑
调研编号:SJS-26404
运行报错 e.default is not a constructor
- <!DOCTYPE html>
- <html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
- <head>
- <link href="ib/gc.spread.sheets.excel2016colorful.14.1.4.css" rel="stylesheet"/>
- <script src="lib/vue.global.js"></script>
- <script src="lib/gc.spread.sheets.all.14.1.4.min.js"></script>
- <script src="lib/gc.spread.sheets.vue.14.1.4.min.js"></script>
- <style scoped lang="scss">
- .gray-bg{
- background-color: #fff;
- }
- .vue-demo{
- width: 800px;
- height:400px;
- margin: 0 auto;
- }
- </style>
- </head>
- <body class="gray-bg">
- <div id="app">
- {{message}}
- </div>
- <script>
- const { createApp,nextTick, onMounted, reactive, ref } = Vue;
- const App = {
- data() {
- return {
- message:"hello"
- }
- },
- setup() {
- onMounted(() => {
- });
-
- }
- };
- const app = createApp(App);
-
- app.mount("#app");
- </script>
- </body>
- </html>
复制代码
|
最佳答案
查看完整内容
您好,经调研,目前Vue3支持库暂不支持通过页面引入的方式使用,请使用楼上提到的方案来使用Vue3支持库。
|