alex8088 / quick-start

An easy way to start a front-end project.
MIT License
248 stars 34 forks source link

Can you also include clean solid build? #5

Closed Tetrax-10 closed 1 year ago

Tetrax-10 commented 1 year ago

Clear and concise description of the problem

I use electron-vite/solid/js for my current project i dont use eslint or prettier can you add a clean build with just electron + vite + solid ?

or create a blog post on how to build clean bulid electron-vite and solid ?

Used Scaffolding

create-electron

Suggested solution

create a blog post on how to build clean bulid electron-vite and solid ?

Alternative

add a clean build

Additional context

No response

Validations

alex8088 commented 1 year ago

You only need to remove the relevant files of eslint and pertter in root, and remove the dependencies of eslint* and prettier*.

Tetrax-10 commented 1 year ago

thx. Is there any blog post/article on creating our own electron + vite + solid using electron-vite ?

alex8088 commented 1 year ago

check out https://evite.netlify.app/

https://github.com/alex8088/electron-vite

Tetrax-10 commented 1 year ago

also if i do npm install it install electron-builder version=23.6.0 and says 9 vulnerabilities image

alex8088 commented 1 year ago

Please ignore, this is normal

Tetrax-10 commented 1 year ago

how do i use electron-reload with electron-vite/solid/js?

alex8088 commented 1 year ago

Do not need to use electron-reload. electron-vite support hot-reloading. https://evite.netlify.app/guide/hot-reloading.html

Tetrax-10 commented 1 year ago

Thanks for clearing my doubt. Sorry for asking basic ques, this gonna be my first electron and solidjs project.

alex8088 commented 1 year ago

Good job. If you have any other questions, please feel free to submit an issue.

Tetrax-10 commented 1 year ago

Hi me again, i imported scss and its working fine. but i didnt change anything on the electron.vite.config.js. should i change anything on config to optimize scss

Also vite is appending all the css and scss files to the head. is that normal or vite should combine all the css and scss to 1 file then append it to head?

alex8088 commented 1 year ago

This is normal. vite will automatically do these. so that we can focus on development.

Tetrax-10 commented 1 year ago

Hi am using this boilerplate npm create @quick-start/electron which comes default with electron-vite after building and installing it through .exe from the dist folder its getting installed in %localappdata%/programs/my-app/my-app.exe. how do i change the install location to %localappdata%/my-app/my-app.exe

alex8088 commented 1 year ago

learn more about electron-builder