Giter Club home page Giter Club logo

easy-template-x-angular-expressions's People

Contributors

alonrbar avatar davidjb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

davidjb

easy-template-x-angular-expressions's Issues

Condition greather then

Hello,

I am not entirely familiar with Angular Expressions.
But do you guys happen to have an example, how I can manage to do this.

{#item.discount > 0}
{/}
{#item.discount = 5}
{/}

How to loop?

Sorry if this is not the correct place, but I'm having trouble trying to loop through an array like this

{# for (let i in rows) }
	something: {rows[i].something}
	{# something == “foo”}something is foo{/}
{/}

Is iteration by index not supported? If it is, maybe you can give an example of how to use it?

babel-loader in create-react-app setup not working

./node_modules/easy-template-x-angular-expressions/dist/es/easy-template-x-angular-expressions.js 35:57
Module parse failed: Unexpected token (35:57)
File was processed with these loaders:
 * ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
|
| function printPath(path) {
>   const strPath = (path || []).map(p => `"${strEscape(p ?? '')}"`).join(", ");
|   return `[ ${strPath} ]`;
| }

this is my package.json:

  "dependencies": {
    // ...others,
    "@craco/craco": "^6.1.2",
    "antd": "^4.15.5",
    "craco-antd": "^1.19.0",
    "easy-template-x": "^2.1.0",
    "easy-template-x-angular-expressions": "^0.1.0",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",

    "react-router-dom": "^5.2.0",
    "react-scripts": "^4.0.3",
    "typescript": "^4.3.2"
  },

It is failing to parse the nullish coalescing operator. Idk why. I use them in my react app.

Not sure how build works with dependencies. Any ideas to try?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.