Releases: IndexXuan/vue-cli-plugin-vite
Releases · IndexXuan/vue-cli-plugin-vite
Support Vue 3
as of v1.0.0-rc.4, vue-cli-plugin-vite support vue-cli project with Vue 3.
- checkout examples of vue-cli & Vue 3
- also vite-plugin-vue-cli update
Support build by html template(SPA/MPA)
- 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
- 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
- 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
- now it is fully support bencodezen/vue-enterprise-boilerplate
- see
auto-resolve alias
- Now we can auto-resolve alias from vue.config.js chainWebpack and configureWebpack
module.hot support
- module.hot will be transformed to import.meta.hot
ready to use
- First release and enjoy vite with vue-cli