logo
logologo
Guide
Configuration
Plugins
English
简体中文
Guide
Configuration
Plugins
English
简体中文
logologo

Getting Started

介绍
Quick Start
从EMP2升级到EMP3
术语表

Module Sharing

React MF
React Multi Version
React Cross Version
Vue2 MF
Vue3 MF

Frameworks

React
Vue2
Vue3

Basics

命令行工具
开发服务器
引入 JSON 文件
普通引入与inline引入SVG
使用Raw引入与txt
引入样式资源
构建产物目录
配置
使用 Tailwind CSS
使用 CSS Modules
配置HTML模版

Advanced

路径别名
环境变量
模块热更新

使用Raw引入与txt#

add in v3.5.4
demo.js
import txt from 'src/file.txt?raw'
console.log('file.txt content', txt)
Previous Page普通引入与inline引入SVG
Next Page引入样式资源