diff --git a/templates/react-monorepo/packages/core/example/index.html b/templates/react-monorepo/examples/basic/index.html similarity index 100% rename from templates/react-monorepo/packages/core/example/index.html rename to templates/react-monorepo/examples/basic/index.html diff --git a/templates/react-monorepo/packages/core/example/index.tsx b/templates/react-monorepo/examples/basic/index.tsx similarity index 100% rename from templates/react-monorepo/packages/core/example/index.tsx rename to templates/react-monorepo/examples/basic/index.tsx diff --git a/templates/react-monorepo/packages/core/example/package.json b/templates/react-monorepo/examples/basic/package.json similarity index 76% rename from templates/react-monorepo/packages/core/example/package.json rename to templates/react-monorepo/examples/basic/package.json index 862619e9f..44a76b613 100644 --- a/templates/react-monorepo/packages/core/example/package.json +++ b/templates/react-monorepo/examples/basic/package.json @@ -11,9 +11,9 @@ "react-app-polyfill": "^1.0.0" }, "alias": { - "react": "../../../node_modules/react", - "react-dom": "../../../node_modules/react-dom", - "core": "../." + "react": "../../node_modules/react", + "react-dom": "../../node_modules/react-dom", + "core": "../../packages/core" }, "devDependencies": { "@types/react": "^16.8.15", diff --git a/templates/react-monorepo/packages/core/example/tsconfig.json b/templates/react-monorepo/examples/basic/tsconfig.json similarity index 100% rename from templates/react-monorepo/packages/core/example/tsconfig.json rename to templates/react-monorepo/examples/basic/tsconfig.json diff --git a/templates/react-monorepo/packages/core/example/.gitignore b/templates/react-monorepo/packages/core/example/.gitignore deleted file mode 100644 index 587e4ec7a..000000000 --- a/templates/react-monorepo/packages/core/example/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -node_modules -.cache -dist \ No newline at end of file