Use with Buefy
Describe the bug
Trying to do a simple example showing a Buefy button. But got error.
This issue maybe is for Buefy to fix, I am not sure, but I put it here for awareness.
System Info
- required
vite
version: 0.12.0 - required Operating System: Windows 10
- required Node version: 12.16
- Optional:
- npm/yarn version
- Installed
vue
version (fromyarn.lock
orpackage-lock.json
) - Installed
@vue/compiler-sfc
version
Logs
- setup
npx create-vite-app test
cd test
npm i
npm i buefy
Add buefy to index.html
import { Button } from 'buefy'
import { createApp } from 'vue'
import App from './App.vue'
const app = createApp(App)
app.mount('#app')
app.use(Button) // had to add this here
Add a button to App.vue
<h1>Hello Vite + Vue 3!</h1>
<b-button>Buefy Button</b-button>
run
vite
orvite build
with theDEBUG
environment variable set tovite:*
- e.g. modify thedev
script in yourpackage.json
to:DEBUG=vite:* vite
On windows, you will need cross-env:
cross-env DEBUG=vite:* vite
Provide the error log here.
nothing visible on command line
Reproduction
Provide a link to a reproduction repo if applicable.