Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork976
Home
Welcome to the CoreUI-Vue wiki!
FAQ:
Check what's your version ofnode
andnpm
. Update when necessary.
Whenever you change node versions you'll need to remove yournode_modules
,package-lock.json
and runnpm install
sometimes things go wrong withnpm install
try:
- remove
node_modules
directory - remove
package-lock.json
file - then
npm install
Module build failed: Error: ENOENT: no such file or directory, scandir './node_modules/node-sass/vendor'
ERROR Failed to compile with 1 errors 23:33:38
error in ./src/App.vue
runnpm rebuild node-sass
assuming that you've got node & npm installed properly
try this way:
cd Vue_Starter npm installnpm start
Built files are meant to be served over an HTTP server.
If you don't have your own server, and you want to test your build locally, you can set up a local web server on your computer.
# install globally:npm install http-server -g# then navigate to your dist folder:cd dist# and start the server:http-server -o
# install globally:npm install -g serve# and start the server:serve -s dist
4. Works withVue CLI 3
andWebpack 4
Tweaking the Webpack config can be done via the newvue.config.js
file. If you want to add a Webpack plugin, place your code into theconfigureWebpack
property. To see the runtime config, use the commandvue inspect
.