在StackBlitz项目里直接preview某个component的template

简介: 在StackBlitz项目里直接preview某个component的template

在app.module.ts里定义了对应的路由信息后,

直接在浏览器地址栏后面加上/shipping,

image.png

就可以看到对应的template layout:image.png

相关文章
|
6月前
|
JavaScript 前端开发
vue3瀑布流布局(使用 Vue 3 框架的单文件组件格式(Single-File Component)编写的)
vue3瀑布流布局(使用 Vue 3 框架的单文件组件格式(Single-File Component)编写的)
189 0
|
JavaScript 前端开发 安全
模板引擎(art-template)详解
它采用作用域预声明来优化模板渲染速度,从而获得来接近JavaScript极限的运行性能,并同时支持nodejs和浏览器 1.1.特性 模板引擎是第三方模块,让开发者以更友好的方式拼接字符串,是代码啊更清晰,更加易于维护 1.2. 模板 art-template同时支持两种语法,标准语法可以让模板更容易读写, 原始语法具有强大的逻辑处理能力
764 0
|
JavaScript
VUE element-ui 之slot-scope=“scope“常见报错解决方法
VUE element-ui 之slot-scope=“scope“常见报错解决方法
992 0
VUE element-ui 之slot-scope=“scope“常见报错解决方法
|
23天前
Spartacus 2211 无法在文件夹下使用 ng g component 创建新的 Component
Spartacus 2211 无法在文件夹下使用 ng g component 创建新的 Component
7 0
Spartacus 2211 无法在文件夹下使用 ng g component 创建新的 Component
Vue3报错:Extraneous non-props attributes (style) were passed to component but could not be automatical
Vue3报错:Extraneous non-props attributes (style) were passed to component but could not be automatical
2022 1
|
4月前
|
编解码 JavaScript 编译器
【Vue warn】If this is a native custom element, make sure to exclude it from component resolution ……
【Vue warn】If this is a native custom element, make sure to exclude it from component resolution ……
|
4月前
|
JavaScript 前端开发
vue-class-component
vue-class-component
40 1
|
7月前
|
JavaScript API
art-template
art-template
|
9月前
vue3+ts:render极简demo -- 引入element ui el-input组件
vue3+ts:render极简demo -- 引入element ui el-input组件
135 0
|
JavaScript
Ant Design Vue 框架的a-table嵌套a-form-model达到验证效果
Ant Design Vue 框架的a-table嵌套a-form-model达到验证效果
1013 0