Open weimars70 opened 3 weeks ago
I am not an expert on Bolt but I have tried using it with Quasar a few times.
One way you might like to try is opening a quasar template project from Stackblitz. This is the link shown on Quasar's site.
After the template opens, click "Open in Bolt" and the quasar project should be loaded in Bolt. I tried this today and it worked.
The other way is to try to a create a project from scratch. I also tried this with mixed results. Eventually I got a project loaded but it wasn't very easy. These are the steps.
Create a simple vuejs project (with Vite)
if you get an error that the @vitejs/plugin-vue is missing then prompt Bolt to install it. This is the terminal/npm command. npm i @vitejs/plugin-vue
I also found that sometimes to get the vue project to display in the preview I had to request it to add a 'vite.config.mjs' file. (you just have to write that - you dont need more detailed instructions.)
Then prompt Bolt to install the quasar vite plugin. or add it yourself: npm i @quasar/vite-plugin (The latest version is 1.8.0.)
I think Bolt (the LLM model) doesn't know about the extra steps required to configure the vite plugin shown on Quasar's page. https://quasar.dev/start/vite-plugin/
npm install --save quasar @quasar/extras npm install --save-dev @quasar/vite-plugin sass-embedded@^1.80.2
Then customizing and replacing main.js using the configurator on the page and optionally adding the src/quasar-variables.sass file.
I hope it helps.
Describe the bug
trying to create vue projects with quasar framework in all of them gives me the following error
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-zzbzw8
Steps to reproduce
npm run dev
Expected behavior
I want to preview the project
Screen Recording / Screenshot
Platform
Additional context
No response