Skip to content

Commit

Permalink
docs(core): vue cli tutorial (#26451)
Browse files Browse the repository at this point in the history
Update the Vue standalone tutorial to start from a Vue CLI generated
project
  • Loading branch information
isaacplmann authored Jul 3, 2024
1 parent adb81af commit fa3c5c4
Show file tree
Hide file tree
Showing 3 changed files with 752 additions and 405 deletions.
186 changes: 186 additions & 0 deletions docs/shared/tutorials/vue-app-pdv.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
{
"project": {
"name": "vue-app",
"type": "lib",
"data": {
"root": ".",
"targets": {
"vite:build": {
"options": {
"cwd": ".",
"command": "vite build"
},
"cache": true,
"dependsOn": ["^vite:build"],
"inputs": [
"default",
"^default",
{
"externalDependencies": ["vite"]
}
],
"outputs": ["{projectRoot}/dist"],
"executor": "nx:run-commands",
"configurations": {}
},
"build-only": {
"executor": "nx:run-script",
"metadata": {
"scriptContent": "nx vite:build",
"runCommand": "npm run build-only"
},
"outputs": ["{projectRoot}/dist"],
"cache": true,
"options": {
"script": "build-only"
},
"configurations": {}
},
"build": {
"executor": "nx:run-script",
"metadata": {
"scriptContent": "nx exec -- echo 'Ran type-check and build-only'",
"runCommand": "npm run build"
},
"dependsOn": [
"type-check",
{
"target": "build-only",
"params": "forward"
}
],
"options": {
"script": "build"
},
"configurations": {}
}
},
"sourceRoot": ".",
"name": "vue-app",
"projectType": "library",
"metadata": {
"targetGroups": {
"NPM Scripts": ["build", "build-only"]
}
},
"implicitDependencies": [],
"tags": []
}
},
"sourceMap": {
"root": ["package.json", "nx/core/package-json-workspaces"],
"targets": ["vite.config.ts", "@nx/vite/plugin"],
"targets.vite:build": ["vite.config.ts", "@nx/vite/plugin"],
"targets.vite:build.options": ["vite.config.ts", "@nx/vite/plugin"],
"targets.vite:build.cache": ["vite.config.ts", "@nx/vite/plugin"],
"targets.vite:build.dependsOn": ["vite.config.ts", "@nx/vite/plugin"],
"targets.vite:build.inputs": ["vite.config.ts", "@nx/vite/plugin"],
"targets.vite:build.outputs": ["vite.config.ts", "@nx/vite/plugin"],
"targets.vite:build.executor": ["vite.config.ts", "@nx/vite/plugin"],
"targets.vite:build.options.cwd": ["vite.config.ts", "@nx/vite/plugin"],
"targets.vite:build.options.command": ["vite.config.ts", "@nx/vite/plugin"],
"targets.build-only": ["package.json", "nx/core/package-json-workspaces"],
"targets.build-only.executor": [
"package.json",
"nx/core/package-json-workspaces"
],
"targets.build-only.options": [
"package.json",
"nx/core/package-json-workspaces"
],
"targets.build-only.metadata": [
"package.json",
"nx/core/package-json-workspaces"
],
"targets.build-only.outputs": ["nx.json", "nx/core/target-defaults"],
"targets.build-only.cache": ["nx.json", "nx/core/target-defaults"],
"targets.build-only.options.script": [
"package.json",
"nx/core/package-json-workspaces"
],
"targets.build-only.metadata.scriptContent": [
"package.json",
"nx/core/package-json-workspaces"
],
"targets.build-only.metadata.runCommand": [
"package.json",
"nx/core/package-json-workspaces"
],
"sourceRoot": ["package.json", "nx/core/package-json-workspaces"],
"name": ["package.json", "nx/core/package-json-workspaces"],
"projectType": ["package.json", "nx/core/package-json-workspaces"],
"metadata.targetGroups": [
"package.json",
"nx/core/package-json-workspaces"
],
"metadata.targetGroups.NPM Scripts": [
"package.json",
"nx/core/package-json-workspaces"
],
"metadata.targetGroups.NPM Scripts.0": [
"package.json",
"nx/core/package-json-workspaces"
],
"metadata.targetGroups.NPM Scripts.1": [
"package.json",
"nx/core/package-json-workspaces"
],
"metadata.targetGroups.NPM Scripts.2": [
"package.json",
"nx/core/package-json-workspaces"
],
"metadata.targetGroups.NPM Scripts.3": [
"package.json",
"nx/core/package-json-workspaces"
],
"metadata.targetGroups.NPM Scripts.4": [
"package.json",
"nx/core/package-json-workspaces"
],
"metadata.targetGroups.NPM Scripts.5": [
"package.json",
"nx/core/package-json-workspaces"
],
"metadata.targetGroups.NPM Scripts.6": [
"package.json",
"nx/core/package-json-workspaces"
],
"metadata.targetGroups.NPM Scripts.7": [
"package.json",
"nx/core/package-json-workspaces"
],
"metadata.targetGroups.NPM Scripts.8": [
"package.json",
"nx/core/package-json-workspaces"
],
"targets.build": ["package.json", "nx/core/package-json-workspaces"],
"targets.build.executor": [
"package.json",
"nx/core/package-json-workspaces"
],
"targets.build.metadata": [
"package.json",
"nx/core/package-json-workspaces"
],
"targets.build.dependsOn": [
"package.json",
"nx/core/package-json-workspaces"
],
"targets.build.options": [
"package.json",
"nx/core/package-json-workspaces"
],
"targets.build.options.script": [
"package.json",
"nx/core/package-json-workspaces"
],
"targets.build.metadata.scriptContent": [
"package.json",
"nx/core/package-json-workspaces"
],
"targets.build.metadata.runCommand": [
"package.json",
"nx/core/package-json-workspaces"
]
}
}
Binary file added docs/shared/tutorials/vue-app-products-route.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit fa3c5c4

Please sign in to comment.