# Start Aurelia2 from other host

**URL:** <https://discourse.aurelia.io/t/start-aurelia2-from-other-host/4718>\
**Category:** Help Requests\
**Created:** [April 4, 2022, 8:49am UTC](https://discourse.aurelia.io/t/start-aurelia2-from-other-host/4718 "2022-04-04T08:49:15Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![magnusdanielson](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/magnusdanielson/32/924_2.png) [@magnusdanielson](https://discourse.aurelia.io/u/magnusdanielson)\
**Post date:** [March 13, 2023, 10:05pm UTC](https://discourse.aurelia.io/t/start-aurelia2-from-other-host/4718/21 "2023-03-13T22:05:55Z")

</div>

If anyone ends up here. I have created a yeoman generator that updated the regular spfx webpart project to run with webpack 5 and latest version of Aurelia2.

Install generator with:  
`npm install -g generator-aurelia-spfx`

Create you webpart project with:  
`yo @microsoft/sharepoint`

Then run:  
`yo aurelia-spfx`

And answer yes to all questions

Start one terminal and run  
`gulp serve`

Start second terminal and run  
`gulp buildwp5 --watch`

Add webpart to the workbench and start playing with Aurelia2 and Spfx webparts

[Previous page](https://discourse.aurelia.io/t/start-aurelia2-from-other-host/4718.md?page=1)
