diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a547bf3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/README.md b/README.md index 213f470..81feaad 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # GHHub Global Highlights Hub 海外供应商平台 + +## 开发设置 + +1. 安装组件:npm install +2. 运行开发环境:npm run dev 或者 start.bat +3. 打包代码:npm run build 或者 build.bat \ No newline at end of file diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..10da9ff --- /dev/null +++ b/build.bat @@ -0,0 +1 @@ +npm run build \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..c316114 --- /dev/null +++ b/index.html @@ -0,0 +1,26 @@ + + +
+ + + +Sorry, an unexpected error has occurred.
++ {error.statusText || error.message} +
+
+ This is a demo for React Router.
+
+ Check out{" "}
+
+ the docs at reactrouter.com
+
+ .
+