spfx extension preview showing in yo

%3CLINGO-SUB%20id%3D%22lingo-sub-389723%22%20slang%3D%22en-US%22%3Espfx%20extension%20preview%20showing%20in%20yo%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-389723%22%20slang%3D%22en-US%22%3E%3CP%3Ei%20was%20trying%20to%20inject%20js%20into%20a%20modern%20page.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20followed%20the%20article%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fspfx%2Fextensions%2Fget-started%2Fbuild-a-hello-world-extension%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fspfx%2Fextensions%2Fget-started%2Fbuild-a-hello-world-extension%3C%2FA%3E%26nbsp%3Bto%20inject%20the%20js%20however%20i%20have%20observe%20a%20subtle%20difference%20showing%20preview%20in%20brackets.%20Could%20you%20please%20let%20me%20know%20if%20i%20need%20an%20upgrade.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-448198%22%20slang%3D%22en-US%22%3ERe%3A%20spfx%20extension%20preview%20showing%20in%20yo%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-448198%22%20slang%3D%22en-US%22%3E%3CP%3Eupdating%20yo%20solved%20it%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Regular Contributor

i was trying to inject js into a modern page.

 

i followed the article https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/build-a-hello-world-exte... to inject the js however i have observe a subtle difference showing preview in brackets. Could you please let me know if i need an upgrade.

 

 

1 Reply
Highlighted

updating yo solved it