Skip to content

Commit

Permalink
chore: move slides.md to demo/starter
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 13, 2021
1 parent 4b36ec9 commit bf2248c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ node_modules
.idea/
*.pdf
*-export
demo/starter/slides.md
assets/demo
packages/slidev/README.md
packages/create-app/template/slides.md
composable-vue-cn
components.d.ts
2 changes: 1 addition & 1 deletion demo/starter/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"scripts": {
"dev": "ln -sFf ../../packages/create-app/template/slides.md slides.md && nodemon -w '../../packages/slidev/dist/*.js' --exec 'slidev ./slides.md --open=false --log=info'",
"dev": "nodemon -w '../../packages/slidev/dist/*.js' --exec 'slidev ./slides.md --open=false --log=info'",
"build": "slidev build",
"export": "slidev export"
},
Expand Down
File renamed without changes.
4 changes: 4 additions & 0 deletions packages/create-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
"bin": {
"create-slidev": "index.js"
},
"scripts": {
"prepublishOnly": "npm run build",
"build": "cp ../../demo/starter/slides.md template/slides.md"
},
"homepage": "https://sli.dev",
"bugs": "https://github.com/slidevjs/slidev/issues",
"dependencies": {
Expand Down

0 comments on commit bf2248c

Please sign in to comment.