diff --git a/src/pages.json b/src/pages.json index 38e46c7..dad2f0d 100644 --- a/src/pages.json +++ b/src/pages.json @@ -42,6 +42,10 @@ "navigationBarTitleText": "我才是标题" } }, + { + "path": "pages/demo/index", + "type": "page" + }, { "path": "pages/my/index", "type": "page", diff --git a/src/pages/demo/index.vue b/src/pages/demo/index.vue new file mode 100644 index 0000000..2076a8a --- /dev/null +++ b/src/pages/demo/index.vue @@ -0,0 +1,9 @@ + diff --git a/uni-pages.d.ts b/uni-pages.d.ts index 9dc2dc7..79b9205 100644 --- a/uni-pages.d.ts +++ b/uni-pages.d.ts @@ -5,6 +5,7 @@ interface NavigateToOptions { url: "pages/index/index" | + "pages/demo/index" | "pages/my/index" | "pages/throughout/index" | "pages/index/components/demo";