Comments (4)
嗯嗯,感谢反馈,templatejs 底层用的 esprima来进行js AST编译 ,上面的错误是esprima报的,我研究研究esprima是否支持 CRLF,如果不支持,我可以在传给esprima之前把 加一个参数,是否把CRLF替换为LF
from template.js.
是templatejs的bug,parser未对crlf(\r\n)做处理导致的问题,2.2.1 已经修复了
from template.js.
👌
from template.js.
cli工具上新,欢迎尝鲜
$ npx @templatejs/cli new myapp
# 选择对应的平台
# ❯ webpack4
# rollup
# parcel
# fis3
# browserify
# gulp
# browser
vscode插件上新,欢迎尝试
https://marketplace.visualstudio.com/items?itemName=yanhaijing1234.templatejs
from template.js.
Related Issues (20)
- 如何添加多个标签属性 HOT 3
- 对于双层循环中的使用 HOT 12
- 怎么设置sTag,eTag HOT 1
- 目录结构中以数字开头会导致编译错误 HOT 4
- 有没有类似于vue的格式化功能? HOT 3
- else怎么用呢 HOT 6
- html标签中class插值 在多class插值时会出现除第一个插值以外的值作为属性存在 HOT 3
- 变量中有中文会出现编码问题 HOT 3
- 在react中如何使用 HOT 1
- template.js模板语法使用自增变量出现异常 HOT 1
- template.js支持{{ }}这种语法格式吗? HOT 1
- 请问兼容ie吗? HOT 9
- 使用问题 HOT 4
- 当传入的变量值为数字0时,变量消失 HOT 14
- 是否考虑类似 v-if、v-for 的写法? HOT 8
- 2020-08-18T21:25:03.000+08:00 日期怎么转换阿 HOT 5
- 请问这个数据为什么渲染不进去呢? HOT 2
- template-loader在webpack5下如何配置 HOT 2
- template里传入的data的key是uuid的情况下会报错。 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from template.js.