Vue Support #392
Vue Support
#392
-
Hi 👋🏽 I just wanted to ask, does this plugin have Vue support? I've tried to create an extension using: This is my import { fileURLToPath, URL } from 'url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { crx } from '@crxjs/vite-plugin'
import manifest from './manifest.json'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue(), crx({manifest})],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
}); But I'm getting the following error: Not sure if I'm doing something wrong Thanks 😄 |
Beta Was this translation helpful? Give feedback.
Answered by
jacksteamdev
May 31, 2022
Replies: 1 comment 6 replies
-
Your config looks good to me! Hard to say what's wrong without a full repo to look at. 🙏 Vue does work. You can check out some of the tests for basic Vue usage: |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
Ibz786
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your config looks good to me! Hard to say what's wrong without a full repo to look at. 🙏
Vue does work. You can check out some of the tests for basic Vue usage: