0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Aurelii-cliをcloud9で

Posted at

aureliaって流行ってない?まだまだこれから?流行らなかった?
あまり情報出てこないのはさておいてcloud9で試した際のメモ

aurelia-cliについて

何も設定せず
au run --env dev
とかして起動するとport9000で立ち上がるのがデフォルト。

package.jsonやaurelia_project以下をみる限り、ビルド周りのツールは

  • Gulp
  • Karma
  • BrowserSync

といったあたりをラップしているのがaurelia-cliらしい

cloud9での実行

準備

以下workspaceはBlankで作成。
ターミナル上で
au new --here
した環境。

設定

echo $PORT
してポート番号を確認。
au helpしても特にポート設定は無いようなので、以下のファイルを開いて直接変更
(TypeScriptを選択しない場合はrun.jsなのかも?)。

  • aurelia_project/tasks/run.ts

実行

RunnerにShell commandを選択して、以下を実行
au run --env dev --watch

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?