Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ablipan/vuepress-typescript-demo
Vuepress + TypeScript demo
https://github.com/ablipan/vuepress-typescript-demo
Last synced: 3 days ago
JSON representation
Vuepress + TypeScript demo
- Host: GitHub
- URL: https://github.com/ablipan/vuepress-typescript-demo
- Owner: ablipan
- License: mit
- Created: 2019-05-15T05:58:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T02:31:53.000Z (almost 2 years ago)
- Last Synced: 2023-08-28T17:06:56.053Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 1.45 MB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vuepress + TypeScript demo
If you get some compiling errors when using babel@^7.0.0, that's because Vuepress is using babel's beta version now, maybe some dependencies are not compatible with your babel's version, you can fix it by adding `resolutions` in `package.json`, eg:
```json
{
"resolutions": {
"vuepress/**/@babel/preset-stage-2": "7.0.0",
"vuepress/**/@babel/core": "7.4.4",
"vuepress/**/@babel/runtime": "7.4.4",
"vuepress/**/babel-loader": "8.0.6",
"vuepress/**/@vue/babel-preset-app": "3.3.0"
}
}
```