Skip to content
PluginStats

uni-create-view installs statistics

By 毛先生 · VS Code Marketplace · Other

快速创建 uniapp 视图与组件!

View on VS Code Marketplace Fresh · Dec 6, 2026

uni-create-view has 126,466 recorded installs on VS Code Marketplace, an increase of 0.4% over the past 30 days, ranking #2086 of 2,515 tracked listings.

Installs
126,466
Official API · Dec 6, 2026
7-day growth
+0.1%
+107 installs
30-day growth
+0.4%
+469 installs
90-day growth
—
Insufficient history
Rank
#2086
▼ 1 in 7 days

Rating: 5.00 / 5 from 3 ratings

About uni-create-view

create-uniapp-view

<p align="center"> <img src="https://cdn.jsdelivr.net/gh/uni-helper/uni-create-view@main/public/logo.png" alt="logo" width="256" height="256" /> </p> <p align="center"> <a href="https://github.com/uni-helper/uni-create-view/blob/main/LICENSE"><img src="https://img.shields.io/github/license/uni-helper/uni-create-view?labelColor=005947&color=eee&style=for-the-badge" alt="License"></a> <a href="https://github.com/uni-helper/uni-create-view/stargazers"><img src="https://img.shields.io/github/stars/uni-helper/uni-create-view?labelColor=005947&color=eee&style=for-the-badge" alt="GitHub Stars"></a> <a href="https://marketplace.visualstudio.com/items?itemName=mrmaoddxxaa.create-uniapp-view"><img src="https://vsmarketplacebadges.dev/version-short/mrmaoddxxaa.create-uniapp-view.svg?labelColor=005947&color=eee&style=for-the-badge" alt="VSCode version"></a> <a href="https://marketplace.visualstudio.com/items?itemName=mrmaoddxxaa.create-uniapp-view"><img src="https://vsmarketplacebadges.dev/downloads-short/mrmaoddxxaa.create-uniapp-view.svg?labelColor=005947&color=eee&style=for-the-badge" alt="VSCode downloads"></a> </p> <p align="center"> <a href="https://github.com/hairyf"><img src="https://img.shields.io/badge/Author-Hairyf-blue?style=for-the-badge" alt="Author"></a> <a href="https://github.com/ModyQyW"><img src="https://img.shields.io/badge/Maintainer-ModyQyW-blue?style=for-the-badge" alt="Maintainer"></a> </p>

在 VS Code 右键目录文件夹快速创建页面与组件,创建视图页面时将自动写入 pages.json!

改动日志

想让 uni-app 开发变得更直观、高效?想要更好的 uni-app 开发体验?不妨看看 uni-helper 主页 和 uni-helper GitHub Organization!

插件特性

  • 📁 创建页面、分包页面,自动向上查找 pages.json 并写入
  • 📦 可深度目录创建,写入 pages.json 后仍可保留注释
  • ✨ 可配置 vue2 | vue3 | composition-api(vue2) 模板,vue3 支持 <script setup>
  • 🎨 支持用自己写的模板文件替代内置模板(页面与组件各一份)
  • 📱 可切换生成 .vue 或 .nvue,nvue 用原生渲染对应的模板
  • 👕 可配置 css | scss | less | stylus | sass 预处理器类型
  • 🦾 typescript 为默认开发语言(可在设置中关闭)

使用 composition-api(vue2) 模板,建议配合 uni-composition-api 使用

使用

从 Visual Studio Marketplace 或 OpenVSX 安装插件,重启 VSCode 即可。

基本使用(page、component)

右键文件夹打开菜单选择创建类型,可选择创建组件、页面、分包页面,空格分隔视图名称与页面名称(navigationBarTitleText)。

<p align="center"> <img src="https://github.com/uni-helper/uni-create-view/raw/HEAD/public/basic.gif" alt="基本使用演示:右键文件夹创建页面与组件" width="786" /> </p>
深度目录

^1.3.0 新增扩展能力,无特殊需求还是建议使用单文件模式。

深度目录演示:创建多层目录页面

分包页面

^1.3.0 新增功能,用于创建分包页面,并自动添加至 subPackages 字段中。

右键的目录就是这条分包的 root。如果该目录已经在某个已有分包里面,插件会复用那个分包,把页面写成相对它的路径,不会再建一条嵌套的 root。分包页面不能建在 pages.json 所在的根目录上;如果目标目录里已经有更深的分包,插件也会报错并指出是哪一条,因为两个 root 互相包含时平台构建会失败,怎么合并得你来定。

注意:cli 创建的项目若遇 vendor.js 过大,可以在 package.json 中添加参数 --minimize,具体参考官方文档:dcloud.io

分包页面演示:创建分包页面并写入 subPackages

nvue 页面与组件

打开 create-uniapp-view.nvue 后,生成的文件后缀是 .nvue,内容换成 nvue 模板。pages.json 里的 path 和 vue 页面一样不带扩展名,注册逻辑没有区别。

nvue 是 App 端的原生渲染,写法和 vue 页面有几处硬性差异:只有 flex 布局,view 默认宽高为 0,文字必须放在 text 里才能显示,字体大小和颜色只能设在 text 上。内置的 nvue 模板按这几条规则写了一份骨架:文字包在 text 里,根节点用 flex: 1 撑开并设了背景色,样式挂在固定的 page-root / component-root class 上(不用你输入的名称拼选择器)。脚本是选项式写法,vue2 和 vue3 都能跑,所以不会带 <script setup>。

想要别的 nvue 骨架就用自定义模板,它优先于 nvue 模板,.nvue 后缀仍然生效。

自定义模板

不想用内置模板时,把模板写成一个普通文件,再用设置告诉插件它在哪:

// .vscode/settings.json
{
  "create-uniapp-view.customPageTemplate": "templates/page.vue",
  "create-uniapp-view.customComponentTemplate": "templates/component.vue"
}

相对路径以工作区根目录为基准,所以模板文件可以提交进仓库、跟着项目走;也可以填绝对路径。

模板文件是普通的 .vue 文本,插件用 ejs 渲染,只有想插入变量时才需要写标签:

<script setup lang="ts">
</script>

<template>
  <view class="<%= options.name %>"><%= options.name %></view>
</template>

<style scoped></style>

可用的变量:

变量含义
<%= options.name %>输入框里的视图名称
<%= options.typescript %>create-uniapp-view.typescript 的布尔值
<%= options.setup %>create-uniapp-view.setup 的布尔值
<%- options.scriptAttrs %><script ...> 的属性片段,例如 lang="ts" setup
<%- options.styleAttrs %><style ...> 的属性片段,例如 lang="scss" scoped

scriptAttrs / styleAttrs 自带前导空格,直接写成 <script<%- options.scriptAttrs %>>。其中 setup 只在 create-uniapp-view.template 为 vue3 时出现,所以想复用这两个片段的 vue3 项目要把 template 保持在 vue3。

行为说明:

  • 设了自定义模板,create-uniapp-view.template 就被整份忽略(填了非法值也不会报错);typescript / style / scoped / setup 只通过上面两个属性片段间接生效;directory 与 name 照常起作用。
  • 模板文件不存在、或 ejs 标签写错时,插件报错并中止,不会创建目录,也不会写入 pages.json。
  • ejs 会把文件里的 <% 当作标签,普通 Vue 模板里不会出现这个序列;万一需要输出字面量,用 <%%。
从用户代码片段迁移

插件读取的是普通文本文件,不是 VSCode 的 snippets。把片段里的 body 数组合并成文件,再做两处替换即可:

  • ${1:占位文字} → 占位文字(或者直接删掉这段占位)
  • ${TM_FILENAME_BASE} → <%= options.name %>

扩展设置

所有设置项都在 create-uniapp-view. 命名空间下,可在 VSCode 设置中修改,默认值与 package.json 中声明一致。…

Description from the VS Code Marketplace listing.

  • components
  • page
  • uni
  • uniapp
  • uni-app

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

uni-create-view installs on VS Code Marketplace, last 90 days: 126,466 installs as of Dec 6, 2026.uni-create-viewInstalls on VS Code Marketplace · Last 90 days126,466installs125.4K125.6K125.8K126K126.2K126.4K126.6KSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
uni-create-view installs on VS Code Marketplace, last 90 days: 126,466 installs as of Dec 6, 2026.

7/30/90-day growth

uni-create-view installs growth on VS Code Marketplace: +0.1% over 7 days, +0.4% over 30 days, 90-day growth unavailable.uni-create-viewInstalls growth on VS Code Marketplace126,466installs now7-day growth+107 installs+0.1%30-day growth+469 installs+0.4%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
uni-create-view installs growth on VS Code Marketplace: +0.1% over 7 days, +0.4% over 30 days, 90-day growth unavailable.

Ranking history

uni-create-view VS Code Marketplace ranking history: currently #2086 (by installs).uni-create-viewVS Code Marketplace ranking · by installs · Last 90 days#2086current rank#2072#2074#2076#2078#2080#2082#2084#2086#2088Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
uni-create-view VS Code Marketplace ranking history: currently #2086 (by installs).

Ratings over time

uni-create-view ratings on VS Code Marketplace, last 90 days: 3 ratings as of Dec 6, 2026.uni-create-viewRatings on VS Code Marketplace · Last 90 days3ratings2.72.82.933.13.23.3Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
uni-create-view ratings on VS Code Marketplace, last 90 days: 3 ratings as of Dec 6, 2026.

Listing placement

All VS Code Marketplace2,515 listings · 126 pages · 1,259 shown · page 105, #10 (overall #2,090)
All VS Code Marketplace: every listing in installs order

Listing placement

Other764 listings · 39 pages · page 32, #11 (overall #631)
Other: every listing in installs order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (50)
Recent installs observations for uni-create-view
Date (UTC)InstallsChange vs. previous
126,466+7
126,459+15
126,444+19
126,425+18
126,407+20
126,387+18
126,369+10
126,359+7
126,352+18
126,334+10
126,324+18
126,306+28
126,278+15
126,263—

Similar VS Code Marketplace Other plugins

All 20 uni-create-view alternatives

Data source

Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.

Listing: https://marketplace.visualstudio.com/items?itemName=mrmaoddxxaa.create-uniapp-view. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.