asp.net mvc + vue + element-ui (a): to build the site framework

As the stranger nodejs and vue, spent during installation and create vue project a lot of time, finally found the project can not be used in place mvc degree Niangshuo need to compile nodejs project to mvc, a really hard time ...

Vue later found to be directly introduced into the page and then used directly, white blind me so long time, here are the white pit road to climb:

 

 

 

First, create a new empty site:

Second, the introduction of the resource in the master page:

 

Third, shining  elementui official documents  began to move bricks on it;

Note:

"@" Symbol is C # keyword, so pages @ click = "addOrder ()" must be written @@ click = "addOrder ()" or v-on: click = "addOrder ()"

 

Demo

 

Guess you like

Origin www.cnblogs.com/hhuiii/p/11761383.html