mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 18:47:55 +08:00
docs: 增加vue3、vue2文档
This commit is contained in:
15
newdocs/docs/notes/vue2/structure.md
Normal file
15
newdocs/docs/notes/vue2/structure.md
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
title: 项目结构
|
||||
createTime: 2025/04/23 23:43:26
|
||||
permalink: /vue2/structure/
|
||||
---
|
||||
|
||||

|
||||
|
||||
整个vue的入口是main.js,这个可以在webpack.base.conf.js中调整配置,代码如下:
|
||||
```javascript
|
||||
entry: {
|
||||
app: './src/main.js'
|
||||
}
|
||||
```
|
||||
通过打包之后,编译后的代码全部会注入到index.html的`<div id="app"></div>`里面。
|
Reference in New Issue
Block a user