WaspW
Wasp9mo ago
cmilazzo

script in head

I have this section in my main.wasp file: "head: [
"<meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width" />",
"<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />",
"<link rel="icon" href="/favicon.ico" type="image/x-icon" />",
"<script src='https://js.stripe.com/v3/' />",
"<script
src='https://js.stripe.com/v3/pricing-table.js'></script>",
"<stripe-pricing-table pricing-table-id='prctbl_1R6yHpQ3pz8nOT2l4854f2w1'
publishable-key='pk_test_51Qrp2qQ3pz8nOT2laKRMYmvt5sRrXZjXNtDvNjDdgaX8BzFHon4z6thFxuR0ELGv5lZASVUdfEA5FyOcjqyfj1x500sau6o8yH'>
</stripe-pricing-table>",
]"
I am getting the following error:
Parse error:
Unexpected token: "
Expected one of the following tokens instead: '(','[',']','{','import','true','false',<string>,<number>,<number>,'{=',<identifier>
"<script src='https://js.stripe.com/v3/' />",
"<script
src='https://js.stripe.com/v3/pricing-table.js'></script>",

What is the problem?
Was this page helpful?