Skip to content

Commit

Permalink
update css namespace (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyuly authored Mar 13, 2023
1 parent 0af205e commit 3057c86
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 17 deletions.
29 changes: 13 additions & 16 deletions packages/document/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import { resolve } from 'path'
import { defineConfig } from 'vitepress'
import MarkitDownInclude from 'markdown-it-include'
import DefineOptions from 'unplugin-vue-define-options/vite'
import { resolve } from 'path';
import { defineConfig } from 'vitepress';
import MarkitDownInclude from 'markdown-it-include';
import DefineOptions from 'unplugin-vue-define-options/vite';

const production = process.env.NODE_ENV === 'production'
const site = production ? 'https://wview.icu' : 'http://localhost:3000'
const title = 'wview组件库'
const description = '轻量,灵活,可定制化,采用中国色的Vue3组件库'
const production = process.env.NODE_ENV === 'production';
const site = production ? 'https://wview.icu' : 'http://localhost:3000';
const title = 'wview组件库';
const description = '轻量,灵活,可定制化,采用中国色的Vue3组件库';

const navQuickStart = [
{ text: '介绍', link: '/guide/introduction' },
{ text: '安装', link: '/guide/install' },
{ text: '配置', link: '/guide/configuration' },
{ text: '快速开始', link: '/guide/quick-start' },
{ text: '共享', link: '/guide/props' }
]
];

export default defineConfig({
// vue配置
Expand Down Expand Up @@ -64,10 +64,7 @@ export default defineConfig({
['meta', { name: 'author', content: '什么队' }],
['meta', { name: '关键字', content: '组件, vue' }],
['meta', { rel: 'icon', type: 'image/svg+xml' }],
[
'meta',
{ name: 'keywords', content: 'components, vue, vue3, typeScript, chinacolor' }
],
['meta', { name: 'keywords', content: 'components, vue, vue3, typeScript, chinacolor' }],
['link', { rel: 'icon', type: 'image/svg+xml', href: '/symbol.svg' }],
['meta', { name: 'HandheldFriendly', content: 'True' }],
['meta', { name: 'MobileOptimized', content: '320' }],
Expand All @@ -88,7 +85,7 @@ export default defineConfig({
// 插件配置
markdown: {
config(md) {
md.use(MarkitDownInclude)
md.use(MarkitDownInclude);
},
// 行号
lineNumbers: true
Expand All @@ -114,7 +111,7 @@ export default defineConfig({
activeMatch: '/guide/quick-start'
},
{ text: '组件', link: '/guide/components-list', activeMatch: '/guide/components-list' },
{ text: 'v0.0.5', link: 'https://github.com/lyuly/wview' }
{ text: 'v0.0.6', link: 'https://github.com/lyuly/wview' }
],

sidebar: {
Expand Down Expand Up @@ -166,4 +163,4 @@ export default defineConfig({
]
}
}
})
});
2 changes: 1 addition & 1 deletion packages/wview-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wviewui",
"version": "0.0.5",
"version": "0.0.6",
"types": "./dist/index.d.ts",
"type": "module",
"main": "./dist/wview-components.umd.js",
Expand Down

1 comment on commit 3057c86

@vercel
Copy link

@vercel vercel bot commented on 3057c86 Mar 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

wview-wiki – ./

wview-wiki.vercel.app
wview-wiki-windy00.vercel.app
wview-wiki-git-main-windy00.vercel.app

Please sign in to comment.