forked from rancher-sandbox/rancher-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce vue-cli and replace nuxt.config with vue.config
Signed-off-by: Phillip Rak <[email protected]>
- Loading branch information
1 parent
3d4a4b6
commit 606313e
Showing
14 changed files
with
2,402 additions
and
9,143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
pkg/rancher-desktop/nuxt/ | ||
/node_modules/ | ||
.DS_Store | ||
.vscode | ||
/resources/darwin/ | ||
/resources/linux/* | ||
!/resources/linux/rancher-desktop.desktop | ||
/resources/win32/ | ||
/resources/host/ | ||
/resources/rancher-dashboard/* | ||
/resources/preload.js* | ||
/resources/rdx-proxy.tgz | ||
/coverage/ | ||
/dist/** | ||
/.idea/ | ||
.nuxt/ | ||
/pkg/rancher-desktop/node_modules/ | ||
/src/go/rdctl/pkg/options/generated/*.go | ||
*~ | ||
\#* | ||
/e2e/reports/* | ||
*.exe | ||
/screenshots/output/ | ||
/bats/bin/ | ||
/bats/bats.tar.gz | ||
/bats/logs/ | ||
script_logs/ | ||
scripts/lib/installer-win32-gen.tsx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,24 @@ | ||
import { importTypes } from '@rancher/auto-import'; | ||
import { IPlugin } from '@shell/core/types'; | ||
/*** | ||
* NOTE: @rancher/shell was removed from this project during the Nuxt removal. | ||
* I'm keeping this file around for it's eventual reintroduction; it was easier | ||
* to limit the potential scope of issues associated with the Nuxt removal by | ||
* removing @rancher/shell | ||
*/ | ||
// import { importTypes } from '@rancher/auto-import'; | ||
// import { IPlugin } from '@shell/core/types'; | ||
|
||
import routes from './router'; | ||
// import routes from './router'; | ||
|
||
// Init the package | ||
export default function(plugin: IPlugin) { | ||
// Auto-import model, detail, edit from the folders | ||
importTypes(plugin); | ||
// // Init the package | ||
// export default function(plugin: IPlugin) { | ||
// // Auto-import model, detail, edit from the folders | ||
// importTypes(plugin); | ||
|
||
// Provide plugin metadata from package.json | ||
plugin.metadata = require('./package.json'); | ||
// // Provide plugin metadata from package.json | ||
// plugin.metadata = require('./package.json'); | ||
|
||
// Load a product | ||
plugin.addProduct(require('./product')); | ||
// // Load a product | ||
// plugin.addProduct(require('./product')); | ||
|
||
plugin.addRoutes(routes); | ||
} | ||
// plugin.addRoutes(routes); | ||
// } |
Oops, something went wrong.