Skip to content

Releases: IndexXuan/vue-cli-plugin-vite

Support Vue 3

20 Apr 15:58

Choose a tag to compare

as of v1.0.0-rc.4, vue-cli-plugin-vite support vue-cli project with Vue 3.

Support build by html template(SPA/MPA)

08 Apr 06:00

Choose a tag to compare

  • as of v1.0.0-rc.0, we use html-template instead of lots of src/pages/*/main.html, this version done the WIP of build.

Use Html Template instead of generate corresponding main.html

07 Apr 09:04

Choose a tag to compare

  • Now we use vite-plugin-html-template, reuse public/index.html like vue-cli
  • vite-plugin-html-template work like html-webpack-plugin for webpack

Support process.env in vue.config.js & devServer.before improved

29 Mar 03:25

Choose a tag to compare

  • first require('vue.config.js') for pluginOptions.vite and then loadEnv by vite-plugin-env-compatible to process.env
  • vite-plugin-vue-cli require('vue.config.js') again for full vue.config.js UserConfig
  • add app.all method, better devServer.before support
  • generate entry html file by public/index.html support(also use lodash.template to compile)
  • Thanks xmasong for help

support devServer.before

01 Mar 04:59

Choose a tag to compare

auto-resolve alias

24 Feb 15:34

Choose a tag to compare

  • Now we can auto-resolve alias from vue.config.js chainWebpack and configureWebpack

module.hot support

24 Feb 10:53

Choose a tag to compare

  • module.hot will be transformed to import.meta.hot

ready to use

24 Feb 07:29

Choose a tag to compare

  • First release and enjoy vite with vue-cli