Ionic 3.5 with ts

#1

hi, in your gettind started https://ionicframework.com/docs//intro/tutorial/ you say
Ionic uses TypeScript for its code. If you’re unfamiliar with TypeScript,
when i create the project the file are in .js, typescript isn’t in the project.
Moreover, if i put a button in a page, the button ( and other component) haven’t the styled

#2

What version of the Ionic CLI are you using?
Post the output of ionic info.

2 Likes
#3

Cordova CLI: 6.4.0
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.8.0
Xcode version: Not installed
@SigmundFroyd

#4

What command did you run to create the project?

1 Like
#5

ionic start MyIonicProject tutorial, like in the tutorial

#6

Read this.

#7

Update your CLI to the current version 3.5. Run npm uninstall -g ionic and then npm install -g ionic to do so. Then ionic start should create a correct project. Post your new ionic info output if not.