Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support running JS within <script> tags in PHP file #737

Open
flisvos opened this issue Jan 7, 2022 · 1 comment
Open

Support running JS within <script> tags in PHP file #737

flisvos opened this issue Jan 7, 2022 · 1 comment

Comments

@flisvos
Copy link

flisvos commented Jan 7, 2022

Issue description or question

Evaluating Pro version. I got this VS Code error when issuing Cmd K, Q to try and run Quokka on a php file that includes JS code between the <script></script> tags:

Language "php" is not supported
Source Quokka.js (Extension)

Can't find any settings that look like they would enable this.

Surely Quokka doesn't only run on files with a .js extension?

Code editor version

Visual Studio Code v1.63.2 (Universal)

OS name and version

MacOs Monterey version 12.1 (21C52)

@ArtemGovorov
Copy link
Member

At the moment, Quokka doesn't support <script> within php files, so marking it as a feature request.

@smcenlly smcenlly changed the title What about JS within <script> tags in PHP file? Support running JS within <script> tags in PHP file Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants