From 96e80cb1cdc5ab3f37d7274d7082aa977676aeda Mon Sep 17 00:00:00 2001 From: donglin <38457491+dongwa@users.noreply.github.com> Date: Fri, 10 Nov 2023 18:47:45 +0800 Subject: [PATCH] fix(docs): api explore QFile 404 #16569 (#16571) --- docs/src/assets/links.components.js | 2 +- docs/src/assets/menu.js | 2 +- docs/src/pages/vue-components/{file-picker.md => file.md} | 0 docs/src/pages/vue-components/input.md | 2 +- docs/src/pages/vue-components/uploader.md | 4 ++-- 5 files changed, 5 insertions(+), 5 deletions(-) rename docs/src/pages/vue-components/{file-picker.md => file.md} (100%) diff --git a/docs/src/assets/links.components.js b/docs/src/assets/links.components.js index af134617b12..1313996ecaf 100644 --- a/docs/src/assets/links.components.js +++ b/docs/src/assets/links.components.js @@ -20,7 +20,7 @@ const components = [ { name: 'Dialogs', description: 'To show actions and info only when needed', tag: 'panel', path: 'dialog' }, { name: 'Editor WYSIWYG', description: 'To write text and style it directly', tag: 'other', path: 'editor' }, { name: 'Expansion Panels', short: 'expansionitem', description: 'To show hidden extra info and actions', tag: 'panel', path: 'expansion-item' }, - { name: 'File Pickers', description: 'To access and choose a file from users\' device', tag: 'media', path: 'file-picker' }, + { name: 'File Pickers', description: 'To access and choose a file from users\' device', tag: 'media', path: 'file' }, { name: 'Floating Action Button', short: 'fab', description: 'To display the page primary action', tag: 'button' }, { name: 'Forms', description: 'A system to submit validated inputs', tag: 'input', path: 'form' }, { name: 'Form Fields', description: 'Wrapper for your own custom form elements', tag: 'input', path: 'field' }, diff --git a/docs/src/assets/menu.js b/docs/src/assets/menu.js index 33bd120281f..fe7c394aa28 100644 --- a/docs/src/assets/menu.js +++ b/docs/src/assets/menu.js @@ -323,7 +323,7 @@ export default [ }, { name: 'File picker', - path: 'file-picker' + path: 'file' }, { name: 'Form', diff --git a/docs/src/pages/vue-components/file-picker.md b/docs/src/pages/vue-components/file.md similarity index 100% rename from docs/src/pages/vue-components/file-picker.md rename to docs/src/pages/vue-components/file.md diff --git a/docs/src/pages/vue-components/input.md b/docs/src/pages/vue-components/input.md index 05da0b1e36f..172569b9d01 100644 --- a/docs/src/pages/vue-components/input.md +++ b/docs/src/pages/vue-components/input.md @@ -102,7 +102,7 @@ You'll be using `v-model.number` (notice the `number` modifier) along with `type #### Input of file type ::: tip ALTERNATIVES -**Instead of using a QInput with `type="file"`, you might want to use [QFile](/vue-components/file-picker) picker instead or even [QUploader](/vue-components/uploader)**. However, should you wish to use QInput, please read the warning below. +**Instead of using a QInput with `type="file"`, you might want to use [QFile](/vue-components/file) picker instead or even [QUploader](/vue-components/uploader)**. However, should you wish to use QInput, please read the warning below. ::: ::: warning diff --git a/docs/src/pages/vue-components/uploader.md b/docs/src/pages/vue-components/uploader.md index 0135bbaf228..ccf3c10f262 100644 --- a/docs/src/pages/vue-components/uploader.md +++ b/docs/src/pages/vue-components/uploader.md @@ -4,13 +4,13 @@ desc: The QUploader Vue component is a way for the user to upload files to a bac keys: QUploader examples: QUploader related: - - /vue-components/file-picker + - /vue-components/file --- Quasar supplies a way for you to upload files through the QUploader component. ::: tip -If all you want is an input file, you might want to consider using [QFile](/vue-components/file-picker) picker component instead. +If all you want is an input file, you might want to consider using [QFile](/vue-components/file) picker component instead. :::