Giter Site home page Giter Site logo

Dependencies error about roadmap HOT 7 CLOSED

dixeran avatar dixeran commented on September 24, 2024
Dependencies error

from roadmap.

Comments (7)

Dixeran avatar Dixeran commented on September 24, 2024

#7
I've change the path from using special prefix to the relative path.
It should be "../components/Roadpage".
Noted that this package is a component for Vue, not a package from NPM.

from roadmap.

jouyouyun avatar jouyouyun commented on September 24, 2024

The filename wrong and vue not specify version, not the relative path bug.

diff --git a/src/components/RoadPage/MapContainer.vue b/src/components/RoadPage/MapContainer.vue
index c5649ec..89e5bd5 100644
--- a/src/components/RoadPage/MapContainer.vue
+++ b/src/components/RoadPage/MapContainer.vue
@@ -7,7 +7,7 @@
 
 <script>
 import Searchbar from "./SearchBar.vue";
-import index from "../../../node_modules/[email protected]@vue";
+import index from "../../../node_modules/vue";
 export default {
   name: "Mapcontainer",
   components: {
diff --git a/src/router/index.js b/src/router/index.js
index 418ef62..c2da264 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1,7 +1,7 @@
 import Vue from 'vue'
 import Router from 'vue-router'
 import Checklist from '../components/CheckList'
-import Roadpage from '../components/Roadpage'
+import Roadpage from '../components/RoadPage'
 
 Vue.use(Router)

from roadmap.

jouyouyun avatar jouyouyun commented on September 24, 2024

Data got error.
20180608142738.png

from roadmap.

Dixeran avatar Dixeran commented on September 24, 2024

Emmm...faild to reproduce the error. Would you mind giving more details about what you were trying to do and so on?

from roadmap.

jouyouyun avatar jouyouyun commented on September 24, 2024

Clone the repo, npm install && npm run dev, then open localhost:8080 in chrome, select 湖北省->恩施土家自治区,detail see the video.

from roadmap.

Dixeran avatar Dixeran commented on September 24, 2024

Got it. It comes up when "NO_DATA" returned from API server(no bus services in remote areas).

from roadmap.

Dixeran avatar Dixeran commented on September 24, 2024

Fixed

from roadmap.

Related Issues (3)

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.