# vite-cli
**Repository Path**: xiaozhij/vite-cli
## Basic Information
- **Project Name**: vite-cli
- **Description**: 自己显示vite
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-09-13
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
## FAQ
- 项目当中依赖commonjs模块怎么办?
- 好像只能支持esm模块化
- 处理css
- 处理import
- 处理style
- 处理图片等资源
- HMR
- 在index.html注入客户端通信
- 服务端监听本地文件
- 客户端接受信息更新
## sfc
```
{
descriptor: {
filename: 'component.vue',
source: '\n' +
'
\n' +
' \n' +
'\n' +
'\n' +
'\n',
template: {
type: 'template',
content: '\n' +
'
\n' +
' \n',
loc: [Object],
attrs: {},
map: [Object]
},
script: {
type: 'script',
content: '\n' +
"import HelloWorld from './components/HelloWorld.vue'\n" +
'\n' +
'export default {\n' +
" name: 'App',\n" +
' components: {\n' +
' HelloWorld\n' +
' }\n' +
'}\n',
loc: [Object],
attrs: {},
map: [Object]
},
scriptSetup: null,
styles: [],
customBlocks: []
},
errors: []
}