Closed nielsGal closed 4 years ago
Do you have a sample project showing this? This is not default behaviour. It sounds like webpack isn't copying the file over.
yes, i tried the CPU stats from the tutorial on your website. This is what i get just running wails build, when calling wails build app.css exists inside of the dist folder and it's in the repo
https://github.com/nielsGal/wails
i added the dist folder as well which is untracked by defualt locally it looks something like this.
bt the time the CLI prints Building frontend...
app.css is deleted
Thanks, I'll check it as soon as I can.
Just created a new project, used template 4, opened project in vsc:
Working as expected.
If you needed to create a dist folder then I expect something is wrong with your webpack config. Which would also account for the css file being deleted.
@nielsGal - any feedback on this?
Closing due to inactivity.
I have the same problem.
I use the Template: Vue2/Webpack Basic
and modify nothing in vue.config.js
file, just run cmd vue add vuetify
and wails build
, it's say Error: open C:\work\code\go\goRedisManage\goredismanage\frontend\dist\app.css: The system cannot find the file specified
I just view the vue.config.js
file and found that the file had been changed. Vuetify plugin would modify vue.config.js
.
Maybe beginners like to do it by themselves, and don't like to use the template that they already have (Vuetify2/Webpack Basic
or Vuetify1.5/Webpack Basic
).
Would love to know what's deleting that.
Description
frontend/dist/app.css is deleted by wails CLI on both init and on build, this is file is required for building an app. Currently I can manage to build only if I quickly put a copy of app.css back in the dist folder during the wails build process.
To Reproduce Steps to reproduce the behaviour: wails build
Expected behaviour a normal build without deleting the app.css
Screenshots If applicable, add screenshots to help explain your problem.
System Details
vue js app of wails (option 4)
Additional context