2.vue3-sfc-loader版本的基础写法:(vue3&vue3-sfc-loader) <template> <component :is="data.remote" v-if="data.remote" v-bind="$attrs" /> </template> import { reactive, onMounted } from "vue"; import axios from "axios"; import * as Vue from "vue";//重要 import { loadModule ...
types.ts:32 Cache ƬCache:Object NameType get(key:string) =>Promise<string> set(key:string,value:string) =>Promise<void> get: (key:string) =>Promise<string> - set: (key:string,value:string) =>Promise<void> - types.ts:20
Breadcrumbs vue3-sfc-loader /src / types.ts Latest commit Franck Freiburger fix(core): support resource path with search string (ex. comp.vue?v=a…Feb 5, 2024 2534495· Feb 5, 2024 HistoryHistory Breadcrumbs vue3-sfc-loader /src / types.tsTop File metadata and controls Code Blame 446...
Defined intypes.ts:20 Type declaration: NameType get(key: string) => Promise<string> set(key: string, value: string) => Promise<void> ContentData ƬContentData: string | ArrayBuffer Defined intypes.ts:71 CustomBlock ƬCustomBlock: { attrs: Record<string, string | true> ; content: st...
integrity sha512-YJgLQLwr+SQyORzTsBQLL5TT/5UiV83tEotqjL7F9aFDIQdFBTCwpkCFvX9jqwHoyi9sJqM9XtTrMcc8z/OjPA== dependencies: "@vue/runtime-core" "3.2.29" "@vue/shared" "3.2.29" csstype "^2.6.8" "@vue/server-renderer@3.2.29": version "3.2.29" ...
createVue3SFCModule.ts yarn.lock 9 changes: 9 additions & 0 deletions9build/webpack.config.js Original file line numberDiff line numberDiff line change Expand Up@@ -341,6 +341,15 @@ ${ pkg.name } v${ pkg.version } for vue${ vueTarget } ...
<template> <component :is="computedComponent" /> </template> import { loadModule } from "vue3-sfc-loader/src/index" import Vue from "vue" import { defineComponent, defineAsyncComponent } from "vue" const options = { moduleCache: { vue: Vue }, async getFile(url: string) { const res...
Notable changes: remove IE11 support handle .ts files and lang="ts" in .vue files add isCustomElement option add devMode option fix support of export * from ... for more details, see CHANGELOG.mdAssets 2 Source code (zip) 2024-01-11T15:18:13Z Source code (tar.gz) 2024-01-...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...
loadModule import breaks in production build in Vite + Vue3 + TS bug unconfirmed #152 opened Jan 26, 2023 by isaeedahmed use babel source instead of babel packages (@babel/*) enhancement help wanted #7 opened Dec 16, 2020 by FranckFreiburger 2 ProTip...