< Dart 언어 >

 

* 매뉴얼

 

https://dart.dev/guides

 

https://riptutorial.com/ko/dart

 

    - 다트 코드를 웹에서 연습 실행

https://dartpad.dev/

 

https://www.tutorialspoint.com/dart_programming/index.htm

 

https://github.com/yissachar/awesome-dart




//---------------------

* 설치

    - 플러터 SDK가 다트 SDK를 포함

https://flutter.dev/docs/get-started/install

    flutter\bin\cache



choco install dart-sdk

    - c:\tools\dart-sdk 경로에 설치됨(483M)

dart-sdk




//------------------------------------

* dart 코드를 Javascript 코드로 변환

https://dart.dev/tools/dart2js

dart2js -O2 -o test.js test.dart



Dart 언어 Hello World

 

//--------------------------------------

< Visual Studio Code 에서 실행 >

* VS Code 에 Dart Extension 설치



* Dart 프로젝트 만들기

    - Ctrl+Shift +P -> Dart: New Project 선택

        -> Simple Console Application 선택

 

* 코드 실행

    - 생성된 *.dart 파일을 실행

dart bin/hello.dart



반응형
Posted by codens