ember.js - How to use ember cli with visual studio -
i use ember visual studio 2013. first followed this set server/api, , create new project, , if try on windows's console works.
but if try run in visual studio there errors, first of all, new directory command ember init
creates, not visible in visual studio project.
second if run it, error:http 403.14 - forbidden server not configured ..
the windows console's localhost , visual studio localhost different. when run ember serve
following:
version: 1.13.1 livereload server on http://localhost:35729 serving on http://localhost:4200/ build successful - 19116ms. slowest trees | total ----------------------------------------------+--------------------- treemerger (appanddependencies) | 4043ms treemerger (externaltree) | 3875ms concat: vendor | 3533ms treemerger (vendor) | 1524ms funnel | 1161ms slowest trees (cumulative) | total (avg) ----------------------------------------------+--------------------- treemerger (appanddependencies) (1) | 4043ms treemerger (externaltree) (1) | 3875ms concat: vendor (1) | 3533ms funnel (32) | 2350ms (73 ms) treemerger (vendor) (1) | 1524ms
instead on visual studio have : http://localhost:63551/
what have ember-cli project running visual studio?
update: seen on github : https://github.com/ember-cli/ember-cli/issues/3746
in short: use nodejstools, npm@3, ember-cli-windows, powershell administrator, , you'll have time.
orginal answer:
ember-cli
has own server default won't automatically appear invisual studio iis
server, can redirect ember-cli brocoli build output(dist folder)
visual studio iis
hosting, , ember serve building , livereload.- i think in
vs2013
web type project need clickshow files
in solution explorer in
order see new files , add them project. - make sure either configure server start index.html or insert in url.
- i think in
side note:
care tmp, bower , node
folders vs hang trying analyze them
vs 2013
not supporting ecmascript 6
(same vs2015rc
), won't suport imports , exports far know, advise use lighter sublime until vs team implement it.
-or dont use ember-cli
, ember
grunt or glup).
i think popular approach use lightweight editor ember combined command line , visual studio
api codebase
good luck
Comments
Post a Comment