Coder Social home page Coder Social logo

Comments (6)

antonybudianto7 avatar antonybudianto7 commented on June 18, 2024

I think it's more complicated to serve from there, many things need to be set and it's out of this starter scope.

from angular-starter.

aswath-veersoft avatar aswath-veersoft commented on June 18, 2024

Thanks.
I have an existing app. I want the new angular2 module to be served from subfolder.
ex. I already have an application serving at localhost:8000, and I am enhancing the application using angular2. So, I want to be served from http://localhost:8000/src/index.html

Any pointer on this.

from angular-starter.

antonybudianto7 avatar antonybudianto7 commented on June 18, 2024

My starter isn't designed for serving for multi-apps/subfolder, but you can still host the build result under any routes you want, just play with web server setting.

from angular-starter.

aswath-veersoft avatar aswath-veersoft commented on June 18, 2024

Yes, the final build can be hosted in the subfolder. However, then, I am stuck for iterative development.

Any pointers on what other seed projects can be used for subfolders for both dev and prod? Thanks.

from angular-starter.

aswath-veersoft avatar aswath-veersoft commented on June 18, 2024

If the app is served from 'src' folder, then , in the system.config.js file, there is a dependency on the src folder in the map section.
var map = {
'app': 'src/tmp/app',
'test': 'src/tmp/test'
};
How, can I remove the 'src' dependency.
If I can remove the 'src' dependency, then I can host it in the root folder.

from angular-starter.

antonybudianto avatar antonybudianto commented on June 18, 2024

https://github.com/mgechev/angular-seed

from angular-starter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.