Coder Social home page Coder Social logo

iarjian / vite-electron-quick Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mangotsing/vite-electron-quick

0.0 0.0 0.0 446 KB

⚡️Starter template with Vite2 Vue3 and Electron 11.x /使用 Vite2 Vue3 以及 Electron 11.x 打造的快速启动模版。

License: MIT License

JavaScript 39.71% TypeScript 32.74% Vue 22.21% HTML 3.22% SCSS 2.00% Shell 0.11%

vite-electron-quick's Introduction

vite-electron-quick

👻 A fast Simple Vite2 Vue3 and Electron 11.x template.

⚡️ If you want to fast create a Vite 2 + Vue 3 + Electron 11.x project:

🚀 Why not use this?

quick install


npx create-vite-electron <project_name>

yarn create vite-electron <project_name>

run

  • yarn

  • yarn dev

  • yarn build

change log

210219

  • resolve #6
  • change vite config file (alias => resolve.alias)
  • current version:
    • vite 2.0.1
    • electron 11.2.3

210113

  • fix Vite2 config bugs
  • vue-router next use hash mode instead of history mode

210108

  • use Vite2
  • use Electron 11.x

201029

  • fix build bug
  • if build slowly, you can use electron mirror

201026

  • vite update, update vite.config.ts file
  • add third lib element-plus import globally
  • please note when using NODE MODULE, may need to change vite.config.ts -> optimizeDeps.allowNodeBuiltins

原因

  • vite 的快速发展以及更新,让其他能与之配合的项目各显神通,为什么不来试一试呢?
  • vite 处于 beta 状态,目前还没有适合的脚手架与 electron 11.x 版本搭配使用
  • 业务上原本使用的 electron-vue 框架,由于使用的 electron 以及 webpack 版本较低,升级很麻烦。于是计划使用新的方案探索可能性。
  • 使用 electron 的业务,是为数不多可以不考虑兼容性的业务,能够在业务中使用最新的框架是不可多得的机会。

使用 3rd lib tips

  • 第三方库都可能会与 vite 以及 electron 框架本身造成冲突,请谨慎选择。

vite-electron-quick's People

Contributors

mangotsing avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.