paulund / vuejs-crud Goto Github PK
View Code? Open in Web Editor NEWVueJS Example of a CRUD application
VueJS Example of a CRUD application
This is not really an educational project if you copy over so much code.
this three step flow for run project but not run give error in console
localhost/:8 GET http://localhost:8080/src/assets/css/style.css net::ERR_CONNECTION_REFUSED
localhost/:15 GET http://localhost:3000/dist/build.js inpage.js:36
How can I redirect to product list page from create product page after successful response?
I am trying this,$routes.router.go('/) not working
tested with node 4.6.2 and 8.1.0
ERROR in multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
Module not found: Error: Can't resolve 'babel' in '/Users/raymond/stack/sites/vuejs-crud'
BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
You need to specify 'babel-loader' instead of 'babel',
see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
I'm giving my first steps with vue
So far now I did:
D:\devel\apps\tmp
λ git clone https://github.com/paulund/vuejs-crud.git
Cloning into 'vuejs-crud'...
remote: Counting objects: 30, done.
remote: Total 30 (delta 0), reused 0 (delta 0), pack-reused 30
Unpacking objects: 100% (30/30), done.
D:\devel\apps\tmp
λ cd vuejs-crud\
D:\devel\apps\tmp\vuejs-crud (master -> origin)
λ npm install
npm WARN deprecated [email protected]: � Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 775 packages in 62.547s
D:\devel\apps\tmp\vuejs-crud (master -> origin)
λ npm run dev
> vuejs-crud-application@ dev D:\devel\apps\tmp\vuejs-crud
> cross-env NODE_ENV=development webpack-dev-server --open --inline --hot
Project is running at http://localhost:8080/
webpack output is served from /dist/
404s will fallback to /index.html
(node:1488) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.
I also started the api with node server.js
which works ok
When I open a browser at: http://localhost:8080/ I get:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>vuejs-crud</title>
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>
Am I missing anything?
λ node --version
v8.11.3
λ npm --version
5.6.0
Using Windows 7 Enterprise SP1
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.