Comments (2)
Not cooking bug.
const Foo = { template: '<div>foo</div>' };
const Bar = { template: '<div>bar</div>' };
You should not use template
. If you still want to use it, you should update configuration
cooking.conf.js
{
alias: {
'vue$': 'vue/dist/vue.esm.js'
}
}
from cooking.
Thanks a lot for your response. I should have read this before asking https://vuejs.org/v2/guide/installation.html#Runtime-Compiler-vs-Runtime-only
PS: love cooking and the eleme suite of tools. it's very pleasant to use for a beginner like myself.
from cooking.
Related Issues (20)
- 怎么设置cooking编译出的js名称 HOT 2
- cooking build 报错 HOT 1
- cooking build 报错(新建的vue模板)希望尽快答复,急 HOT 1
- Setting cooking env: remember to prepend process.env. HOT 4
- 打包源码时,不将vue打包进程序中
- No local gulp install found in C:\Program Files\nodejs\node_modules\slush-cooking-vue HOT 2
- 开发多页面应用,v开头的文件名(eg:voted文件)无法编译运行。
- scss load image Module not found: Error: Can't resolve '../../images/xx.png'
- compile error [Extract Text Plugin (Loader) Invalid Options]
- watch与build均无法在ie11下运行
- Error: Cannot find module 'gulp-install' HOT 2
- This is an issue with the `slush-cooking-vue` generator
- 项目里静态的excel文件要如何配置才能打包入dist?
- 想问问设置dist的目录,但是npm run dev 之后但是全局搜索都在不到, 到底这个webserver所运行的目录根目录设置在那里, 十分崩溃
- 想问问设置dist的目录,但是npm run dev 之后但是全局搜索都在不到, 到底这个webserver所运行的目录根目录设置在那里, 十分崩溃
- 如何用es6语法去启动cooking
- [email protected] TypeError: Cannot read property 'query' of undefined at getLoaderWithQuery HOT 1
- 浏览器不刷新
- cooking-cli 在typescript 项目中无法导入es6编写的vue文件
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 cooking.