We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d99afd3 commit 64a60d2Copy full SHA for 64a60d2
packages/core/template/UI/uview-pro/src/main.js.data.mjs
@@ -0,0 +1,13 @@
1
+export default function getData({ oldData }) {
2
+ const uViewProEntries = {
3
+ id: 'uview-pro',
4
+ importer: 'import uViewPro from \'uview-pro\'',
5
+ use: 'app.use(uViewPro)',
6
+ }
7
+ return {
8
+ ...oldData,
9
+ entries: oldData.entries.flatMap(entry =>
10
+ entry.id === 'vue' ? [entry, uViewProEntries] : entry,
11
+ ),
12
13
+}
0 commit comments