• GitHub
  • Documentation
  • Discord
  • Tip
search
  • chevron_right Threads
  • label Dev Development

Can not find `misago` under `frontend` directory

raeuz
Oct. 30, 2018
chat_bubble_outline 2
  • check_circle
  • link
    raeuz
    Members 14 posts
    Oct. 30, 2018, 8:52 a.m. Oct. 30, 2018, 8:52 a.m.
    link

    @rafalp,

    I am reivew the frontend source code, and i don't understand the relative path - import OrderedList from 'misago/utils/ordered-list'; which is in index.js.

    I can not find the misago directory under frontend directory.

    Can you tell me about this misago - import OrderedList from 'misago/utils/ordered-list'; , What path does it represent?

    index_js.png

    Thanks.

    index_js.png

    PNG, 679.8 KB, uploaded by raeuz on Oct. 30, 2018.

  • link
    rafalp
    Project Lead 2027 posts
    Oct. 30, 2018, 10:36 a.m. Oct. 30, 2018, 10:36 a.m.
    link
    check_box

    Marked as best answer by Oct. 31, 2018, 1:12 a.m..

    misago/ is alias for src/ directory. ;)

    The plugin that I am using for this can be found here.

    Next frontend will use relative imports instead because I've found that those work much better with today IDEs.

  • link
    raeuz
    Members 14 posts
    Oct. 31, 2018, 1:13 a.m. Oct. 31, 2018, 1:13 a.m.
    link

    Thanks.

arrow_upward Go to top
  • This site uses cookies to gather statistical data for use in traffic analysis.
  • GitHub
  • Documentation
  • Discord
  • Tip
  • Terms of service
  • Privacy policy
powered by misago