Tag: 汇编

打字稿。 不在特定的机器上编译

我有一个很小的项目,在我的家用机器上完美编译,但是我在另一台PC上收到了数百个错误。 我可以注意到的环境唯一的区别是,我有麻烦的PC是在Windows 8下(PC上的Windows 10和Ubuntu的工作正常)。 全球npm列表(深度= 0): +– npm@4.1.1 +– typescript@2.1.5 `– typings@2.1.0 tsc version = 1.0.3.0 tsconfig.json : { "compilerOptions": { "module": "commonjs", "noImplicitAny": false }, "exclude": [ "node_modules" ] } 问题以/// <reference path="node_modules/@types/jquery/index.d.ts" /> 这就是我的输出如下所示:

获得汇编 – 中间件 – 永久链接的工作

我正在尝试获取构build中的assemble-middleware-permalinks ,但是它并不像我想要的那样工作。 我有我的Gruntfile.coffee的以下Gruntfile.coffee : assemble: options: layout: 'default.hbs' layoutdir: '<%= config.app %>/_layouts' partials: '<%= config.app %>/_partials/*.hbs' plugins: ['assemble-middleware-permalinks'] permalinks: preset: 'pretty' pages: files: '.tmp/': ['<%= config.app %>/pages/{,*/}*.hbs'] 但是,当运行grunt assemble任务时,它仍然显示它只生成以下内容: Running "assemble:pages" (assemble) task writing .tmp/about.html writing .tmp/index.html assembled 2 files OK 我安装了使用0.5.0分支的grunt-assemble软件包。 我也尝试手动把结构,而不是使用预置: permalinks: structure: ':basename/index.html' 谁能告诉我我做错了什么?

assembly句柄嵌套的math帮手

我想知道是否有办法在一个操作中合并两个[Assemble Math助手] 1 。 例如: 我想做{{multiply 12 a}}然后 对结果做{{round}} 谢谢你的帮助。