Skip to content

How can i read a text file in wing? #2547

Discussion options

You must be logged in to vote

Hey, I think for now you should use extern to call external javascript, then use an fs package to read the file.
Just in case you're unfamiliar with extern, you can see some examples here. Note that the external javascript should reside in a separate file (in the example I sent the external js is here).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by schosterbarak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants