diff --git a/package-lock.json b/package-lock.json index 3452ff8..69da34f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,9 @@ "packages": { "": { "name": "pro-router-imba2", + "dependencies": { + "pro-router": "^4.3.2" + }, "devDependencies": { "imba": "^2.0.0-alpha.226", "vite": "^3.2.5", @@ -2476,6 +2479,11 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/pro-router": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/pro-router/-/pro-router-4.3.2.tgz", + "integrity": "sha512-S1qvuUwg5dLegfMIt3tFxW2jMhMFgZP0YqoHLdOlggrQYIhbzgpzUsoKqQ6kQ6vRD3kiS+H6NaQt/Ve0fpm4yQ==" + }, "node_modules/prompts": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", @@ -4798,6 +4806,11 @@ } } }, + "pro-router": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/pro-router/-/pro-router-4.3.2.tgz", + "integrity": "sha512-S1qvuUwg5dLegfMIt3tFxW2jMhMFgZP0YqoHLdOlggrQYIhbzgpzUsoKqQ6kQ6vRD3kiS+H6NaQt/Ve0fpm4yQ==" + }, "prompts": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", diff --git a/package.json b/package.json index 4199a3a..ce8bceb 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,10 @@ "watch": "vite build --watch", "preview": "vite preview" }, + "dependencies": { + "pro-router": "^4.3.2", + "lodash": "4.11.1" + }, "devDependencies": { "imba": "^2.0.0-alpha.226", "vite": "^3.2.5", diff --git a/src/index.js b/src/index.js index 8c406aa..8d39ac3 100644 --- a/src/index.js +++ b/src/index.js @@ -1 +1,2 @@ -import "./main.imba" +import "pro-router/standalone" +import "./main.imba" \ No newline at end of file