GithubHelp home page GithubHelp logo

kekewind / wp2vite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tnfe/wp2vite

0.0 0.0 0.0 403 KB

一个让webpack项目支持vite的前端项目的转换工具。A front-end project automatic conversion tool。

Home Page: https://tnfe.github.io/wp2vite/

License: MIT License

JavaScript 100.00%

wp2vite's Introduction

English | 简体中文

wp2vite logo


npm vite npm webpack npm package node compatility


wp2vite

It has been officially included,detail

Overview

A front-end project automatic conversion tool, You can make your webpack project support vite.

wp2vite will not delete your webpack configuration, but will inject vite configuration into your project to support vite.

The development speed is about 80% faster than that of webpack, and the construction speed is about 50% faster than that of webpack.

Examples

Detailed

react

vue

  • vue projects created by vue-cli are supported,whether or not contains vue.config.js

other

install

npm install -g wp2vite

use

cd yourwork/your_project // go to your project catalog
wp2vite 
or
wp2vite --config=./webpack.config.js // with config file

wp2vite -v // check wp2vite version

npm install // install dependencies

npm run dev // start server
or
npm run vite-start // start server

Contribute

If you spotted a bug,please submit a pull request with a bug fix.

If you would like to add a feature or change existing behaviour, open an issue and tell about what exactly you want to change/add.

License

MIT

wp2vite's People

Contributors

dravenww avatar drawcall avatar fantasticsoul avatar northseacoder 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.