问题标签 [web-essentials]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
less - 使用 Web Esssentials 2013 Preview Extension 在 Visual Studio 2013 Preview 中未编译 Less 文件
我正在使用 Visual Studio 2013 预览版,并且尝试在我的应用程序中使用更少的文件。但我在右窗格中收到编译错误。你可以看看它。有人能帮帮我吗?
asp.net - Can't get LESS to compile Imports
I am using visual studio 2012 with web essentials 2012, latest version. I am following the direction from this article http://www.cutterscrossing.com/index.cfm/2013/5/20/Skinning-Bootstrap-Tabs. I have @import directives in the less files and when I save the file a css file is created. However, nothing is in the css file. I've checked the path, but the paths appear valid.
My file structure is...
A new empty web site called
In the custom variables.less file I have...
The variables.css output created upon save is empty
In the custom overrides.less file I have...
On save, web essentials creates an overrides.css with the following...
The last custom less file in the core folder is the core.less file. This file only has the following imports...
When saved an empty css file is created. Again, empty.
Is there something I'm missing. I've been over the instructions a few times and everything seems right.
Thanks
git - 将 Visual Studio 扩展回滚到早期版本
如何将 Visual Studio 2012 扩展回滚到早期版本?
我刚刚安装了(出色的)Web Essentials 的 2.8 版,但我发现此版本中嵌套的 @import 语句存在问题(即,如果一个 .less 文件 @imports 另一个本身 @imports 一个 .less 文件的 .less 文件) . 我已经通知了作者,但我需要能够将此扩展回滚到 2.7 版本,直到问题得到解决。
是否有实现这一目标的流程/机制?恐怕我对 git hub 不太熟悉,甚至对如何找到较早的提交也不是很熟悉。
typescript - 假人打字机
有人可以告诉我,当我的类在我的 Default.aspx.cs 文件中定义时,我的 Scripts\TypeLite.tt 文件中到底应该有什么,如下所示:
我无法让教程工作。(Typelite 是一个从 c# 类中获取 Typescript 定义的工具。我正在使用 Nuget )这是不使用 ForLoadedAssemblies() 我感兴趣的方法:http: //type.litesolutions.net/Tutorials。我阅读了教程并尝试下载稳定版本,但均无效。
编辑:为此使用网络必需品!Visual Studio 2013 与 Web Essentials 2013 一起安装 - 右键单击 .cs 文件并选择“Web Essentials -> 创建 Typescript intellisense 文件”,瞧 :)
import - Typescript requirejs 网络要领 2.9
我只是将 Web Essentials 和 Typescript 更新到新版本。
结果我的项目不再工作了。
这是我的打字稿代码:
在更新我生成的代码(有效)之前是:
现在它看起来像:
在我的控制台中,我有这个错误:
未捕获的错误:尚未为上下文加载模块名称“Common”:_。使用要求([])
我尝试在配置中添加 Common。但在更新之前它工作正常。
任何人都可以帮助我,也许需要对我的代码进行一些更改才能让我的项目恢复正常。
谢谢,
杰罗姆
更新
我只是看到这是由于 Web Essentials 2.9,我不再有为 amd 模块指定编译器选项的选项。
我只是删除扩展并重新安装 2.7 版:
http://vswebessentials.com/nightly/webessentials2012-2.7.vsix
visual-studio - 如何导出/导入设置和更改高级设置
我正在使用 VS 2012 Extension Web Essentials 2012,对此我有一些疑问:
- 我正在尝试导出其设置,以便可以在其他机器上共享它们。但我找不到任何提示。
- 如果有可能,我该如何扩展 jshint 忽略的文件列表。例如,jQuery.js 被忽略,但 jQuery.validate.js 不被忽略,所以我对 3rd 方文件有很多警告。
编辑
第一个问题解决了,我必须在VS中右键单击我的解决方案节点,移动到Web Essentials
然后选择Create solution settings
. 我得到了一个 XML 文件,该文件可以签入源代码管理,然后被其他机器重用。
第二个问题仍然悬而未决
asp.net - LESS:无法识别的输入
在 Web Essentials 2012 的帮助下,我试图减少学习。
从一开始,这个 LESS 代码:
给出编译错误“LESS:无法识别的输入”并且编译停止。@main-color
当我在类范围内声明变量时,.mega-warning
一切正常:
我错过了什么?
visual-studio-2012 - TypeScript 错误 Web 必备
我使用 Web Essentials 在保存时编译我的打字稿文件(Visual Studio 2012),但我得到了一个空的 js 和这条消息:
twitter-bootstrap - 在多个参数 Less 文件中使用分号时未声明的 mixin 错误
我正在尝试在我的项目中使用来自Twitter Bootstrap的mixins.less文件。由分号分隔的多个参数的所有实例显示:
未声明的混合
函数参数未封闭,应为“)”。
未声明的变量
我安装了 WebEssentials 2012 v2.9。有没有办法在不使用不同的 Less 编译器的情况下让它工作?还是 WebEssentials 中的编译器不是问题?
visual-studio-2012 - LESS 真的不行
简单的例子:如果我写在less-file中:
在CSS中我得到:
但如果我写:
我得到:
我已经阅读了很多信息,但这些解决方案都没有帮助。
我重置了我的 VS 2012,重置了 Web Essentials,安装了 ASP.NET 和 Web Tools 2012.2。并且......没有任何改变。
我很绝望......如何在 VS 2012 中使用 Web Essentials 少工作?