You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(): support vue projects
* chore(): update repo
* Add theme support for Vue apps from wizard and default capacitor on for all apps
* fix(vue): adjust cap integration
Co-authored-by: Max Lynch <max@ionic.io>
`Since you're using the ${chalk.bold('Vue')} project type, you must provide the ${chalk.green(cli.script)} npm script so the Ionic CLI can build your project.`
Copy file name to clipboardExpand all lines: packages/@ionic/cli/src/lib/project/vue/index.ts
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
import*aschalkfrom'chalk';
2
2
import*asDebugfrom'debug';
3
3
import*aslodashfrom'lodash';
4
+
import*aspathfrom'path';
4
5
5
6
import{Project}from'../';
6
7
import{InfoItem}from'../../../definitions';
@@ -13,7 +14,7 @@ export class VueProject extends Project {
13
14
14
15
asyncgetInfo(): Promise<InfoItem[]>{
15
16
const[
16
-
[ionicVuePkg,ionicVuePkgPath],
17
+
[ionicVuePkg,ionicVuePkgPath],
17
18
]=awaitPromise.all([
18
19
this.getPackageJson('@ionic/vue'),
19
20
]);
@@ -71,4 +72,9 @@ export class VueProject extends Project {
71
72
`Since you're using the ${chalk.bold('Vue')} project type, this command won't work. The Ionic CLI doesn't know how to generate framework components for Vue projects.`
`Since you're using the ${chalk.bold('Vue')} project type, you must provide the ${chalk.green(cli.script)} npm script so the Ionic CLI can serve your project.`
0 commit comments