svrx
  • Languages
  • svrx
  • svrx
    • SUMMARY
    • Contributing to svrx
    • Getting Started
    • Blog
      • Server-X: A Pluggable Platform For Local Frontend Development
    • Guide
      • API Reference
      • Option Reference
      • How To Use Routes
    • Plugins
      • How To Write A Plugin
      • How To Use Plugins
    • Practice
      • Integrations
      • Recipes
  • svrx
    • 概要
    • 贡献指南
    • 快速上手
    • Blog
      • Server-X:一款可能提升你十倍工作效率的工具
      • 使用 svrx 实现更优雅的接口 Mock
      • 说说 Server-X 的免安装插件机制
    • 进阶指南
      • API 索引
      • 参数列表
      • Routing 路由的使用
    • 插件体系
      • 如何写一个插件
      • 插件的使用
    • 项目实战
      • 结合主流脚手架使用
      • 特定场景使用
Powered by GitBook
On this page

Was this helpful?

  1. svrx
  2. Practice

Integrations

PreviousPracticeNextRecipes

Last updated 3 years ago

Was this helpful?

Initialize a project with or :

# 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 to get powerful dev experience.

plugins
create-react-app
vue-cli