在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):axiskafi/angular2-laravel5开源软件地址(OpenSource Url):https://github.com/axiskafi/angular2-laravel5开源编程语言(OpenSource Language):JavaScript 77.3%开源软件介绍(OpenSource Introduction):Angular 2.0.0 stable release - laravel5Angular 2 setup with Laravel 5 Step1:
You need pre installed Step2: clone the repository files from here to your local server, you can download and unzip it too to a local project folder [if you change the project folder name angular2-laravel5 to a different project then open the package.json file "name": "angular2-laravel5", replace this to "name": "yourProjectFolder", ] Step3: then open your terminal got to your project folder for me its
step4: Open file node_modules\elixir-typescript\index.js and comment out this line ".pipe($.concat(paths.output.name))" . So the generated files won't be combine in to one single files. The two js files will be generated to "public/js" as your configuration. Step 5 now in the terminal run these commands
Step 6 Running the project from the local serverStep 1
By using terminal/command prompt go to the project folder
for me its
now type this command
stept 2
open a new terminal and type this command
step 4
System will automatically open a tab in your default browser and open this link you will write your angular code to the resources/assets/typescript folder whenever you will write a new code the elixir type script will automatically compile it via gulp watch and you have to refresh yuour browser to see the changes. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论