Skip to content

Commit bb78c13

Browse files
author
Dipak Sarkar
committed
added quasar
1 parent 51ecb4b commit bb78c13

File tree

5 files changed

+29
-1
lines changed

5 files changed

+29
-1
lines changed

docs/.vuepress/clientAppEnhance.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import number from "../../src";
22
import { defineClientAppEnhance } from "@vuepress/client";
3+
import { Quasar } from "quasar";
34

45
export default defineClientAppEnhance(({ app }) => {
6+
app.use(Quasar, {
7+
plugins: {}, // import Quasar plugins and add here
8+
});
59
app.use(number);
610
});

docs/.vuepress/config.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const { description } = require("../../package");
22
const { path } = require("@vuepress/utils");
33

44
module.exports = {
5-
port: 8081,
5+
port: 8082,
66
// site config
77
lang: "en-US",
88
title: "Vue Number Format",
@@ -46,6 +46,16 @@ module.exports = {
4646
},
4747
darkMode: false,
4848
plugins: [
49+
[
50+
"@vuepress/plugin-search",
51+
{
52+
locales: {
53+
"/": {
54+
placeholder: "Search",
55+
},
56+
},
57+
},
58+
],
4959
[
5060
"@vuepress/register-components",
5161
{

docs/.vuepress/styles/index.scss

Whitespace-only changes.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"@vue/compiler-sfc": "^3.0.0",
5656
"@vuepress/plugin-google-analytics": "^2.0.0-beta.35",
5757
"@vuepress/plugin-register-components": "^2.0.0-beta.35",
58+
"@vuepress/plugin-search": "^2.0.0-beta.35",
5859
"babel-eslint": "^10.1.0",
5960
"babel-jest": "^27.2.0",
6061
"core-js": "^3.6.5",

yarn.lock

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2584,6 +2584,19 @@
25842584
"@vuepress/utils" "2.0.0-beta.35"
25852585
chokidar "^3.5.3"
25862586

2587+
"@vuepress/plugin-search@^2.0.0-beta.35":
2588+
version "2.0.0-beta.35"
2589+
resolved "https://registry.yarnpkg.com/@vuepress/plugin-search/-/plugin-search-2.0.0-beta.35.tgz#390a7b448335e004025b29065b902e6d26cd640d"
2590+
integrity sha512-Z2c26zaRDfoRcJiHbmOLeReqKTLUQufmCwol7pvRMGzDUi2bJ8/+6tDNRs62Cuavpao7mnqIW2kPuzIaLP2S7g==
2591+
dependencies:
2592+
"@vuepress/client" "2.0.0-beta.35"
2593+
"@vuepress/core" "2.0.0-beta.35"
2594+
"@vuepress/shared" "2.0.0-beta.35"
2595+
"@vuepress/utils" "2.0.0-beta.35"
2596+
chokidar "^3.5.3"
2597+
vue "^3.2.28"
2598+
vue-router "^4.0.12"
2599+
25872600
"@vuepress/plugin-theme-data@2.0.0-beta.35":
25882601
version "2.0.0-beta.35"
25892602
resolved "https://registry.yarnpkg.com/@vuepress/plugin-theme-data/-/plugin-theme-data-2.0.0-beta.35.tgz#ead378f8c8435f00c7939b476f296cec569a9d5b"

0 commit comments

Comments
 (0)