Ionic 2 Cli Customize LAB


#1

Hi
I’m trying to modify the HTML when I launch the command ionic serve --lab. I want to personalize that page a little bit but… I modify the HTML file called v2preview.html and nothing happened.

Any info?

Thanks


#2

Where is this file located and why do you think this would be the solution to your problem?


#3

Because I need to do the same that ionic serve --lab does but with a little different styles


#4

That answers why you are editing files but none of my two questions.


#5

Sorry
File is located in
node_modules/ionic/node_modules/ionic-app-lib/lib/assets
I think that is the best way becaouse I only need to edit

Thanks


#6

ionic-app-lib is not part of a current CLI release. Please post your ionic info output.


#7

Hi again
global packages:

@ionic/cli-utils : 1.1.2
Ionic CLI        : 3.1.2

System:

Node       : v6.10.2
OS         : macOS Sierra
Xcode      : Xcode 8.3.2 Build version 8E2002
ios-deploy : 1.9.1
ios-sim    : 5.0.13

#8

You are probably looking for this:

@ionic/app-scripts is a devDependency of your project. You could of course just go into node_modules and edit that file, cleaner would be to fork the project, submit your changes and install your fork into your project.


#9

thanks sooooo much. you save my day :slight_smile: