File tree 1 file changed +11
-11
lines changed
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 97
97
|-- layout 布局
98
98
|-- widget 组件
99
99
|-- usage 项目具体实现
100
- |-- project
100
+ |-- project 某个子项目
101
101
|-- core 核心代码:桥接lib中的core,可以进行项目级扩展
102
102
|-- fragment 项目公用碎片
103
103
|-- module 模块
104
104
|-- page page桥接文件目录:src-list
105
105
|-- export page pack之后的文件目录
106
- |-- src 生产环境
106
+ |-- prd 生产环境
107
107
|-- bgimg 背景图目录(假设有的话)
108
108
|-- image 前景图目录(假设有的话)
109
109
|-- font 字体目录(假设有的话)
110
110
|-- scripts 脚本目录
111
111
|-- styles(Yo) 样式目录
112
- |-- usage 项目具体实现
113
- |-- mobile
114
- |-- index.css
115
- |-- login.css
116
- |-- and etc...
117
- |-- pad
118
- |-- index.css
119
- |-- login.css
120
- |-- and etc...
112
+ |-- project1 子项目
113
+ |-- index.css
114
+ |-- login.css
115
+ |-- and etc...
116
+ |-- project2 子项目
117
+ |-- index.css
118
+ |-- login.css
121
119
|-- and etc...
120
+ |-- and etc...
122
121
```
123
122
124
123
> ` src ` , ` scripts ` , ` styles ` 三个目录是为了和现有项目保持一致,避免修改过大,所以保持不变。
129
128
130
129
> 至于 ` html ` , ` bgimg ` , ` image ` , ` font ` 这几个目录为什么没有加 ` s ` ,主要是因为不希望大家去想某个目录是否为复数,简单点就好。
131
130
131
+ > ` prd ` 为生产环境目录,以 ` xxx ` 项目为例,其生产环境中的某个CSS外链大致如下:` //sitename.com/styles/mobile/index.css `
132
132
133
133
<a name =" separate " ></a >
134
134
### 2.分离
You can’t perform that action at this time.
0 commit comments