mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-04-11 03:21:27 +08:00
docs: 分离vue2和vue3版本
This commit is contained in:
11
docs/vue2/structure.md
Normal file
11
docs/vue2/structure.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# 项目结构
|
||||
|
||||

|
||||
|
||||
整个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