Packages
Potionx project generator. Provides a `mix potionx.new` task to bootstrap a new Elixir application with Phoenix, Absinthe, Pow and Vue dependencies.
Current section
Files
Jump to
Current section
Files
templates/potionx/frontend/shared/src/gql.ts
// Takes string literral and returns it.
// To be used as a lighter replacement for graphql-tag package to get syntax highlighting.
export const gql = (s: TemplateStringsArray) => s?.[0]
export default gql