vite-cli
v1.0.0
Published
easy vite
Downloads
39
Readme
FAQ
- 项目当中依赖commonjs模块怎么办?
- 好像只能支持esm模块化
sfc
{
descriptor: {
filename: 'component.vue',
source: '<template>\n' +
' <img alt="Vue logo" src="./assets/logo.png" />\n' +
' <HelloWorld msg="Hello Vue 3.0 + Vite" />\n' +
'</template>\n' +
'\n' +
'<script>\n' +
"import HelloWorld from './components/HelloWorld.vue'\n" +
'\n' +
'export default {\n' +
" name: 'App',\n" +
' components: {\n' +
' HelloWorld\n' +
' }\n' +
'}\n' +
'</script>\n',
template: {
type: 'template',
content: '\n' +
' <img alt="Vue logo" src="./assets/logo.png" />\n' +
' <HelloWorld msg="Hello Vue 3.0 + Vite" />\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: []
}