File tree Expand file tree Collapse file tree 4 files changed +51
-3
lines changed Expand file tree Collapse file tree 4 files changed +51
-3
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,16 @@ export default {
22 nav : [
33 { text : 'Home' , link : '/' } ,
44 { text : 'Introduction' , link : '/introduction' } ,
5- { text : 'Live Example' , link : '/example /' }
5+ { text : 'Live Example' , link : '/playground /' }
66 ] ,
77
88 sidebar : [
99 {
1010 text : 'Guide' ,
11- items : [ { text : 'Introduction' , link : '/introduction' } ]
11+ items : [
12+ { text : 'Introduction' , link : '/introduction' } ,
13+ { text : 'Setup' , link : '/setup' }
14+ ]
1215 } ,
1316 {
1417 text : 'Composables' ,
Original file line number Diff line number Diff line change 1313 link : /introduction
1414 - theme : alt
1515 text : Live Example
16- link : /example /
16+ link : /playground /
1717
1818features :
1919 - title : Heading
Original file line number Diff line number Diff line change 1+ ---
2+ title : Setup
3+ ---
4+
5+ # {{$frontmatter.title}}
6+
7+ ## Installation
8+
9+ Install ` vue-semantic-structure ` as a dependency to your project:
10+
11+ ::: code-group
12+
13+ ``` bash [Yarn]
14+ yarn add vue-semantic-structure
15+ ```
16+
17+ ``` bash [NPM]
18+ npm install vue-semantic-structure
19+ ```
20+
21+ ``` bash [PNPM]
22+ pnpm add vue-semantic-structure
23+ ```
24+
25+ :::
26+
27+ ## Usage
28+
29+ You can find uses in the following sections:
30+
31+ ** Components**
32+
33+ - [ ContentContainer] ( /components/content-container )
34+ - [ ContentHeadline] ( /components/content-headline )
35+
36+ ** Composables:**
37+
38+ - [ useContentContainer] ( /composables/use-content-container )
39+ - [ useContentHeadline] ( /composables/use-content-headline )
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
88
99// https://vitejs.dev/config/
1010export default defineConfig ( {
11+ base : getBaseUrl ( ) ,
12+
1113 plugins : [ vue ( ) ] ,
1214
1315 server : {
@@ -21,3 +23,7 @@ export default defineConfig({
2123 }
2224 }
2325} ) ;
26+
27+ function getBaseUrl ( ) {
28+ return process . env . npm_config_base_url || process . env . BASE_URL || '/' ;
29+ }
You can’t perform that action at this time.
0 commit comments