Comments (6)
- cli还有个
configWebpack
可以直接写webpack.config,然后用webpack-merge起来; - 你可以建个最小项目,发链接过来,我们看看是什么问题
from san-loader.
我看了一眼:template.js
这个应该是支持的,需要你自己写对应loader的resourcequery的,上面的代码,如果template标签配了lang=pug
,那么query里面应该有san=&type=template&lang=pug
,你可以按照这个思路试下
from san-loader.
我看了一眼:template.js
这个应该是支持的,需要你自己写对应loader的resourcequery的,上面的代码,如果template标签配了
lang=pug
,那么query里面应该有san=&type=template&lang=pug
,你可以按照这个思路试下
query是san=&type=template&lang=pug
,而且 template lang='pug'
里面的内容也被编译成了html格式,然后就编译失败了。
* ./node_modules/pug-html-loader/lib/index.js
* ./node_modules/san-loader/index.js
You may need an additional loader to handle the result of these loaders.
> <div>1213</div>
报错是要我添加其他的loader,可是我有些不大明白了,请指教
from san-loader.
看我最新的提交:6cec4e1
from san-loader.
看我最新的提交:6cec4e1
先谢谢您的demo,单独的搭建我这边也是可以的。
我这边使用的是san-cli创建的工程,然后通过chainWebpack添加的loader,然后才报的上述的错误
from san-loader.
好了,可以了,感谢您的细心帮助
通过chainWebpack转换后没有html-loader而导致的
使用configWebpack解决了,再次感谢
from san-loader.
Related Issues (18)
- san-loader如何抽取行内样式到css文件 HOT 1
- Could not build with babel@7 without sourcemap HOT 1
- san-loader不支持动画 HOT 1
- README.md例子错误 HOT 1
- vue在import .vue组件时,语法层面可以省略.vue后缀,而san-loader不能省略.san后缀 HOT 1
- 支持mixin和注册全局component的san loader
- 通过san-cli 编译,CSS Modules 报错 HOT 1
- san单文件组件行内样式的写法在生产模式下无效 HOT 4
- 数据校验的写法是怎样的? HOT 1
- San模板编译时使用css module 未生效 HOT 2
- 希望可以支持强制返回未编译的 template 功能
- Html-Loader造成的编译异常
- 使用 scoped css 时,scoped id 没有作为 attribute 写回 DOM Element。 HOT 7
- 配置了 compileTemplate 是 aPack 或 aNode 后,渲染时候组件外层绑定的 style/class/id 没有渲染到 DOM 上
- Scoped CSS 的 descendant, child selectors 优先级 HOT 1
- bug HOT 1
- 数据绑定问题? HOT 2
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 san-loader.