书栈网 · BookStack 本次搜索耗时 0.024 秒,为您找到 270 个相关结果.
  • 条件

    条件 Conditional ~~ Conditionals 条件 Conditional ~~ Conditionals Pug 的条件判断的一般形式的括号是可选的,所以您可以省略掉开头的 - ,效果是完全相同的。类似一个常规的 JavaScript 语法形式。 - var user = { description : 'foo...
  • 使用预处理器

    使用预处理器 Sass Sass vs SCSS 共享全局变量 Less Stylus PostCSS Babel 排除 node_modules TypeScript Pug 使用预处理器 在 webpack 中,所有的预处理器需要匹配对应的 loader。Vue Loader 允许你使用其它 webpack loader 处理...
  • 如何使用预处理器?

    如何在 Nuxt.js 中使用预处理器? 如何在 Nuxt.js 中使用预处理器? 得益于 vue-loader , 我们可以通过 lang 属性在组件中的<template> , <script> 或 <style> 上使用各种预处理器。 举个例子,我们在 pages/index.vue 组件中使用 Pug , CoffeeScript ...
  • 继承与扩展

    模板继承 Inheritance ~~ Template Inheritance 块内容的添补 append / prepend ~~ Block append / prepend 常见错误 ~~ Common mistakes 模板继承 Inheritance ~~ Template Inheritance Pug 支持使用 block 和 ...
  • Express Integration

    Express Integration Production Defaults Express Integration Pug fully integrates with Express , a popular Node.js web framework, as a supported view engine. Check out Express’...
  • Plain Text

    Plain Text Inline in a Tag Literal HTML Piped Text Block in a Tag Whitespace Control Recommended Solutions Not recommended Plain Text Pug provides four ways of getting p...
  • Interpolation

    Interpolation String Interpolation, Escaped String Interpolation, Unescaped Caution Tag Interpolation Whitespace Control Interpolation Pug provides operators for a variety...
  • Doctype

    Doctype Doctype Shortcuts Custom Doctypes Doctype Option Doctype doctype html <!DOCTYPE html> Doctype Shortcuts There are shortcuts for commonly used docty...
  • Pre-processors

    843 2019-08-04 《Riot.js Manual》
    Pre-processors Pre-processors Caveats Pre-processors You can pre-process your components contents using your favorite programming language. The @riotjs/compiler gives you th...
  • 如何从 v14 迁移

    从 v14 迁移 值得注意的不兼容变更 现在你需要一个插件 Loader 推导 从依赖中导入单文件组件 模板预处理 样式注入 PostCSS CSS Modules CSS 提取 服务端渲染的依赖排除 废弃的选项 从 v14 迁移 注意 我们正在升级 Vue CLI 3 beta 的过程中,并使用了 webpack 4 + V...