@md-plugins/quasar-app-extension-vite-md-plugin 0.1.0-rc.2 → 0.1.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +4 -4
- package/src/index.js +7 -1
package/README.md
CHANGED
|
@@ -17,9 +17,9 @@ The `viteMdPluginAppExt` extension provides a convenient way to use Markdown fil
|
|
|
17
17
|
|
|
18
18
|
This App-Extension (app-ext) is for convenience only. For more granular control, you can use the `viteMdPlugin` directly in your Vite configuration. For more information, refer to the [viteMdPlugin documentation](https://github.com/md-plugins/md-plugins/tree/dev/packages/viteMdPlugin).
|
|
19
19
|
|
|
20
|
-
> Current release candidate: `0.1.0-rc.
|
|
20
|
+
> Current release candidate: `0.1.0-rc.4`.
|
|
21
21
|
>
|
|
22
|
-
> This app extension currently targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-rc.
|
|
22
|
+
> This app extension currently targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-rc.3`.
|
|
23
23
|
|
|
24
24
|
## Installation
|
|
25
25
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@md-plugins/quasar-app-extension-vite-md-plugin",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.4",
|
|
4
4
|
"description": "A Quasar app-ext for @md-plugins/viteMdPlugin",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app extension",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@quasar/app-vite": "3.0.0-rc.
|
|
21
|
-
"@md-plugins/vite-md-plugin": "0.1.0-rc.
|
|
20
|
+
"@quasar/app-vite": "3.0.0-rc.3",
|
|
21
|
+
"@md-plugins/vite-md-plugin": "0.1.0-rc.4"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@quasar/app-vite": ">=3.0.0-rc.
|
|
24
|
+
"@quasar/app-vite": ">=3.0.0-rc.3"
|
|
25
25
|
},
|
|
26
26
|
"engines": {
|
|
27
27
|
"node": ">=22.13",
|
package/src/index.js
CHANGED
|
@@ -7,6 +7,12 @@
|
|
|
7
7
|
|
|
8
8
|
import { defineIndexScript } from '@quasar/app-vite'
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Extends Quasar config so Markdown files can be imported as Vue components.
|
|
12
|
+
*
|
|
13
|
+
* This legacy app-extension runner keeps Markdown routing behavior aligned with
|
|
14
|
+
* the standalone Vite Markdown plugin.
|
|
15
|
+
*/
|
|
10
16
|
function extendConfig(config) {
|
|
11
17
|
// make sure 'vueRouterMode' has 'history' mode
|
|
12
18
|
if (config.build.vueRouterMode !== 'history') {
|
|
@@ -27,7 +33,7 @@ function extendConfig(config) {
|
|
|
27
33
|
|
|
28
34
|
export default defineIndexScript((api) => {
|
|
29
35
|
api.compatibleWith('quasar', '^2.0.0')
|
|
30
|
-
api.compatibleWith('@quasar/app-vite', '>=3.0.0-rc.
|
|
36
|
+
api.compatibleWith('@quasar/app-vite', '>=3.0.0-rc.2')
|
|
31
37
|
|
|
32
38
|
// here we extend /quasar.config, so we can add some Vite/Vue stuff
|
|
33
39
|
api.extendQuasarConf(extendConfig)
|