Skip to content

Commit 9d63b9f

Browse files
gimmyhehekagol
authored andcommitted
docs: fix demo-list children miss width style (opentiny#2769)
* docs: change docs content * docs: fix demo-list children miss width style
1 parent fdcd90b commit 9d63b9f

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

examples/sites/demos/pc/webdoc/installation-en.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,8 @@ export default defineConfig({
4848
```
4949

5050
<div class="tip custom-block">
51-
<br>
5251
<p> To avoid the uncertainty associated with monthly (minor) upgrades of <code> @opentiny/vue </code>, it is recommended to use ~ before relying on the version number of the package in <code> package.json </code> in your project.
5352
For example, <code>"@opentiny/vue": "~3.12.0</code>. </p>
54-
</div>
55-
<div class="tip custom-block">
56-
<br>
5753
<p><code> @opentiny/vue </code> supports multiple modes. If your project is not a mobile project, you can declare the value of <code>TINY_MODE</code> in <code>process.env</code> in the above configuration code. In order to make the project during construction, the mobile side code can be shaken off and the volume of the packaged product can be optimized. For example, <code>'process.env': {... env,TINY_MODE:'pc'}</code>. </p>
5854
</div>
5955

examples/sites/demos/pc/webdoc/installation.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,8 @@ export default defineConfig({
4848
```
4949

5050
<div class="tip custom-block">
51-
<br>
5251
<p>为了避免<code> @opentiny/vue </code> 的月度版本 (minor) 升级带来的不确定因素,因此推荐在您的工程中的<code> package.json </code> 中依赖包的版本号前使用 ~,
5352
比如 <code>"@opentiny/vue": "~3.12.0</code>。</p>
54-
</div>
55-
<div class="tip custom-block">
56-
<br>
5753
<p><code> @opentiny/vue </code> 支持多种模式。如果您的工程非移动端工程,可以在上面配置代码中的<code>process.env</code>中,声明<code>TINY_MODE</code>的值,以使工程在构建时,能将移动端模式的代码摇掉,优化打包产物的体积。比如 <code>'process.env': { ...process.env,TINY_MODE:'pc' }</code>。</p>
5854
</div>
5955

@@ -86,7 +82,7 @@ export default defineConfig({
8682

8783
| Runtime 名称 | 使用说明 |
8884
| ------------------------- | -------------------------- |
89-
| tiny-vue-pc.mjs | 包含所有 pc 模板的组件集合 |
85+
| tiny-vue-pc.mjs | 包含所有 pc 模板的组件集合 |
9086
| tiny-vue-mobile.mjs | 包含所有移动模板的组件集合 |
9187
| tiny-vue-mobile-first.mjs | 包含所有多端模板的组件集合 |
9288
| tiny-vue-simple.mjs | 包含常用组件的集合 |

examples/sites/src/views/components/demo.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ export default defineComponent({
301301
<style lang="less" scoped>
302302
.demo-container {
303303
min-height: 200px;
304+
width: 100%;
304305
}
305306
306307
.is-current {

0 commit comments

Comments
 (0)