1

What is standard project folder structure should I follow for making a component-based project in AngularJS 1.5?

1
  • Please give some of your code that you tried. And for theoretical suggestions. Please stackexachange Commented Mar 22, 2018 at 6:01

2 Answers 2

1

As per my question, I have tried and make beautiful project struct. but it depends on a developer which type of structure they want to follow.

   /app
    /component
       /login
         login.component.js
         login.html
       /signup
         signup.component.js
         signup.html 

    /layout
      /img
      /css

    /bower_components
    index.html
bower.json
Sign up to request clarification or add additional context in comments.

1 Comment

I like it. I have implemented same structure in my codeship.
0

You can have following type of basic folder structure and also refer to git app starter

/app
    /scripts
            /controllers
            /directives
            /services
            /filters
            app.js
    /views
    /styles
    /img
    /bower_components
    index.html
bower.json

1 Comment

It is used for making the simple project in angular but I want to make the component-based project structure.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.