We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
branch: v2-dev, example: vue3 example use unplugin-vue run : pnpm dev
v2-dev
vue3 example use unplugin-vue
pnpm dev
No response
not transform app.vue
app.vue
so we can manually load the vue file and return the content
This problem involves the problem that hooks will not execute when the cache is opened. It should be a general problem
when use unplugin-vue
unplugin-vue
import { defineConfig } from "@farmfe/core"; // import Vue from "unplugin-vue/farm"; import Vue from "@vitejs/plugin-vue"; import fs from 'fs' export default defineConfig({ // plugins: [Vue(),base()], vitePlugins: [Vue()], compilation: { progress:false, persistentCache: false, }, server: { origin: "http://localhost:9000" } }); function base() { return { name: "farm-load-vue-module-type", priority: -100, load: { filters: { resolvedPaths: [".vue"], }, executor: (param) => { const content = fs.readFileSync(param.resolvedPath, "utf-8"); return { content, moduleType: "js", }; }, }, }; }
mac
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps to reproduce
branch:
v2-dev
,example:
vue3 example use unplugin-vue
run :
pnpm dev
Reproduce link
No response
What is actually happening?
not transform
app.vue
so we can manually load the vue file and return the content
This problem involves the problem that hooks will not execute when the cache is opened. It should be a general problem
when use
unplugin-vue
System Info
The text was updated successfully, but these errors were encountered: