Git Product home page Git Product logo

vuespanonode's Introduction

VueSpaNONODE

This is a single-page application that uses Vue and Vue Router. It uses ES6 imports to render components and templates. No Node is required. Just git clone and serve statically.

You can also select "Use this Template" in order to create a new single-page application that you can build upon. You can write code in any environment that has a static web-server. There are no dependencies.

The motivation for this project and the tutorial to build this yourself is here:

https://dev.to/arswaw/create-a-lightweight-componentized-spa-without-node-569j

vuespanonode's People

Contributors

arswaw avatar besrourms avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vuespanonode's Issues

Using regular .Vue Structure?

Hi there.
Thanks for you blog post, I've been looking for a way to work with my apps with the node_modules nightmare for a while now.
I was wondering if there's a way to deal with this project structure while keeping the App.vue kind of pattern, meaning:

<template>
<div id="component"></div>
</template>

<script>

export default {
    data(){
        return {
            }
     }
}

</script>

I tried using a App.vue component, but I've been getting an error on Firefox while serving my app with a Flask development server, so I wonder if that's even possible...

Loading module from “http://localhost:5000/static/App.vue” was blocked because of a disallowed MIME type (“application/octet-stream”).

Thanks!

CORS policy

Access to script at '...VueSpaNONODE-master/main.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.
main.js:1 Failed to load resource: net::ERR_FAILED

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.