Integrations

Initialize a project with create-react-app or vue-cli:

# CRA
npm init react-app my-app

# Vue CLI
npm i @vue/cli -g
vue create my-app

Create a file named webpack.config.js in root directory:

// CRA
module.exports = require('react-scripts/config/webpack.config')('development');
// Vue CLI
module.exports = require('@vue/cli-service/webpack.config');

And it works like a charm 🎉

svrx --webpack

image

image

You can also combine with others plugins to get powerful dev experience.

Copyright © 2019, NetEase, Inc. all right reserved,powered by GitbookFile Modify: 2019-12-18 15:48:24

results matching ""

    No results matching ""