Giter Club home page Giter Club logo

vue-demo-maizuo's Issues

vue 指令问题

亲爱的作者大牛 请收下渣渣的膝盖 我想咨询下就是film 里面的 v-scroll 你是怎么搞得 为什么我这边查了 vue 自带的指令里面没有v-scroll 这个指令 而且我试着写这个指令在vue 里面给我报错了 麻烦我想咨询下为什么 求教我怎么搞这个指令

在script标签中引入--> require('../assets/header.sass'); 就会报错,但在style标签中用import引入但不会报错

ERROR in ./src/assets/header.sass
Module parse failed: /Users/wangyu/Desktop/web前端/Github/Code/day01/vue-maizuo/src/assets/header.sass Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type.
| @import 'common'
| #header
| background: #282828
@ .//babel-loader/lib!.//vue-loader/lib/selector.js?type=script&index=0!./src/components/header.vue 11:0-32
@ ./src/components/header.vue
@ .//babel-loader/lib!.//vue-loader/lib/selector.js?type=script&index=0!./src/App.vue
@ ./src/App.vue
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8081 webpack/hot/dev-server ./src/main.js

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.