npx degit dcloudio/uni-preset-vue#vite-ts m-uni-demo1
跳转到对应目录,装包,运行
cd m-uni-demo1
yarn
yarn dev:h5
tsconfig.json:
{
"extends": "@vue/tsconfig/tsconfig.json",
"compilerOptions": {
"ignoreDeprecations": "5.0",
"sourceMap":
npx degit dcloudio/uni-preset-vue#vite-ts m-uni-demo1
跳转到对应目录,装包,运行
cd m-uni-demo1
yarn
yarn dev:h5
tsconfig.json:
{
"extends": "@vue/tsconfig/tsconfig.json",
"compilerOptions": {
"ignoreDeprecations": "5.0",
"sourceMap":