I'm sorry ,I'm ready to refactor。
liangxiaojuan / eleme Goto Github PK
View Code? Open in Web Editor NEWrestructure..
restructure..
I'm sorry ,I'm ready to refactor。
这个webapp项目是源码是基于GPL协议的,年轻人,注意点
D:\git\eleme\eleme-master\node_modules\semver\semver.js:293
throw new TypeError('Invalid Version: ' + version);
^
TypeError: Invalid Version: D:\git\eleme\eleme-master>doskey ll=dir $*
3.10.10
at new SemVer (D:\git\eleme\eleme-master\node_modules\semver\semver.js:293:11)
at Range.test (D:\git\eleme\eleme-master\node_modules\semver\semver.js:1036:15)
能不能加上多规格的支持??还有最上面的商家信息没法收缩回去,占了很大一片地方
为什么不能向下拉,下面的内容看不到啊
看了一眼代码,app.vue一眼瞟到v-header,慕课网代码
这个项目bulid之后,生成静态文件,您放在liangxiaojuan.github.io仓库里面,可是为什么可以打开网址预览呢,这个项目不是有后台才能打开吗,github pages只能打开静态文件呀。
我想知道您是什么弄的
HERO PLEASE HELP ME
你的子路由打不开而且报错呢????
如题,第一次点击时候不出动画,只有连点2次才出现,目前还没发现问题在哪。。。
:class="{'current':currentIndex===index}" 如果目录底部最后一个对应的菜品过少,点击时相应目录就不能选中,只能选中上一个的,请问这样怎么改代码
这是慕课网的实战课程吧?
加油吧
header组件点击商家,弹出商家弹框,我自己试着实现这个功能,但是发现弹框弹出后,滚动时背景跟着滚动,也就是滚动穿透,单我看你的代码,没有找到相关处理逻辑,你是怎么实现的?
就是我在使用了vue-router之后,页面上挂载不出来我的app这个组件
这是我的app.vue页面
`
这是main.js
`import Vue from 'vue';
import VueRouter from 'vue-router';
import App from './App';
import goods from './components/goods/goods';
Vue.use(VueRouter);
let routes = [
{path:'/goods',component: goods}
]
let router = new VueRouter({
routes
})
let app = new Vue({
router
}).$mount('#app')
`
这是index.html
`
麻烦告知一下要怎么弄才能挂载上去
E:\data2\eleme>cnpm install
| Installing es6-symbol@~3.1platform unsupported [email protected] › [email protected] › [email protected] › [email protected] Pac
kage require os(darwin) not compatible with your platform(win32)
[fsevents@^1.0.0] optional install error: Package require os(darwin) not compatible with your platform(win32)
peerDependencies WARNING [email protected] requires a peer of eslint-plugin-promise@>=3.3.0 but eslint-plugin
[email protected] was installed
√ All packages installed (608 packages installed from npm registry, use 32s, speed 128.62kB/s, json 765(3.96MB), tarbal
l 0B)
Recently updated (since 2016-12-29): 15 packages (detail see file node_modules/.recently_updates.txt)
Today:
→ [email protected] › [email protected] › [email protected] (02:12:10)
→ [email protected] › [email protected] › [email protected] › [email protected] (06:25:53)
E:\data2\eleme>cnpm run dev
[email protected] dev E:\data2\eleme
node build/dev-server.js
Listening at http://localhost:8080
webpack: wait until bundle finished: /index.html
webpack built dbf20fe8c9302bfe7604 in 9428ms
Hash: dbf20fe8c9302bfe7604
Version: webpack 1.14.0
Time: 9428ms
Asset Size Chunks Chunk Names
app.js 2.29 MB 0 app
ERROR in ./src/App.vue
✘ http://eslint.org/docs/rules/space-before-function-paren Missing space before function parentheses
E:\data2\eleme\src\App.vue:39:9
data() {
^
✘ http://eslint.org/docs/rules/space-before-function-paren Missing space before function parentheses
E:\data2\eleme\src\App.vue:49:12
created() {
^
✘ 2 problems (2 errors, 0 warnings)
这是浏览器的报错信息:
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in component at C:\Users\zou\sell\src\App.vue)
这是App.vue文件的代码:
<template>
<div id="app">
<v-header></v-header>
<div class="tab">
I am tab
</div>
<div class="content">
I am content
</div>
</div>
</template>
<script type="text/ecmascript-6">
import header from './components/header/header.vue';
export default{
components: {
'vheader': header
}
};
</script>
<style lang="stylus" rel="stylesheet/stylus">
</style>
这是header.vue代码:
<template>
<div class="header">
我是header
</div>
</template>
<script text="text/ecmascript-6">
export default{};
</script>
<style lang="stylus" rel="stylesheet/stylus">
</style>
点击加减商品时,连续点击会出现商品价钱为负数的现象,希望作者尽快调整
好奇的问一下,是怎么拿到素材的?尤其是生成的标注图
你好,我在研究你写的高仿饿了么vue项目,有一个问题搞不懂,就是在cartControl.vue中,你用了props接受food这个对象,后点击给这个对象加上count属性,怎么让页面时时更新,同时也改变父组件的这个food值。我照着你写的都不行。你能帮我解决吗
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.