File tree Expand file tree Collapse file tree 11 files changed +7172
-0
lines changed Expand file tree Collapse file tree 11 files changed +7172
-0
lines changed Original file line number Diff line number Diff line change
1
+ node_modules
2
+ .DS_Store
3
+ dist
4
+ * .local
5
+ .vite-inspect
6
+ .remote-assets
7
+ components.d.ts
Original file line number Diff line number Diff line change
1
+ # for pnpm
2
+ shamefully-hoist = true
3
+ auto-install-peers = true
Original file line number Diff line number Diff line change
1
+ # Welcome to [ Slidev] ( https://github.com/slidevjs/slidev ) !
2
+
3
+ To start the slide show:
4
+
5
+ - ` npm install `
6
+ - ` npm run dev `
7
+ - visit < http://localhost:3030 >
8
+
9
+ Edit the [ slides.md] ( ./slides.md ) to see the changes.
10
+
11
+ Learn more about Slidev at the [ documentation] ( https://sli.dev/ ) .
Original file line number Diff line number Diff line change
1
+ <script setup lang="ts">
2
+ import { ref } from ' vue'
3
+
4
+ const props = defineProps ({
5
+ count: {
6
+ default: 0 ,
7
+ },
8
+ })
9
+
10
+ const counter = ref (props .count )
11
+ </script >
12
+
13
+ <template >
14
+ <div flex =" ~" w =" min" border =" ~ main rounded-md" >
15
+ <button
16
+ border =" r main"
17
+ p =" 2"
18
+ font =" mono"
19
+ outline =" !none"
20
+ hover:bg =" gray-400 opacity-20"
21
+ @click =" counter -= 1"
22
+ >
23
+ -
24
+ </button >
25
+ <span m =" auto" p =" 2" >{{ counter }}</span >
26
+ <button
27
+ border =" l main"
28
+ p =" 2"
29
+ font =" mono"
30
+ outline =" !none"
31
+ hover:bg =" gray-400 opacity-20"
32
+ @click =" counter += 1"
33
+ >
34
+ +
35
+ </button >
36
+ </div >
37
+ </template >
Original file line number Diff line number Diff line change
1
+ [build ]
2
+ publish = " dist"
3
+ command = " npm run build"
4
+
5
+ [build .environment ]
6
+ NODE_VERSION = " 20"
7
+
8
+ [[redirects ]]
9
+ from = " /.well-known/*"
10
+ to = " /.well-known/:splat"
11
+ status = 200
12
+
13
+ [[redirects ]]
14
+ from = " /*"
15
+ to = " /index.html"
16
+ status = 200
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " slides" ,
3
+ "type" : " module" ,
4
+ "private" : true ,
5
+ "scripts" : {
6
+ "build" : " slidev build" ,
7
+ "dev" : " slidev --open" ,
8
+ "export" : " slidev export"
9
+ },
10
+ "dependencies" : {
11
+ "@slidev/cli" : " ^0.49.27" ,
12
+ "@slidev/theme-default" : " latest" ,
13
+ "@slidev/theme-seriph" : " latest" ,
14
+ "vue" : " ^3.4.38"
15
+ }
16
+ }
Original file line number Diff line number Diff line change
1
+ # Imported Slides
2
+
3
+ You can split your slides.md into multiple files and organize them as you want using the ` src ` attribute.
4
+
5
+ #### ` slides.md `
6
+
7
+ ``` markdown
8
+ # Page 1
9
+
10
+ Page 2 from main entry.
11
+
12
+ ---
13
+
14
+ ## src: ./subpage.md
15
+ ```
16
+
17
+ <br >
18
+
19
+ #### ` subpage.md `
20
+
21
+ ``` markdown
22
+ # Page 2
23
+
24
+ Page 2 from another file.
25
+ ```
26
+
27
+ [ Learn more] ( https://sli.dev/guide/syntax.html#importing-slides )
You can’t perform that action at this time.
0 commit comments