用.net你後端語言就是C#或VB.net,不會用到node。 cshtml應該只是負責組出呈現頁面的HTML,連接資料庫會在你.net core的model,...
https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView 這個甚至是原生...
https://stackoverflow.com/questions/17722497/scroll-smoothly-to-specific-element...
你watch.js又在#app上mount了一次當然會只有後面的,另外我看你的code也蠻莫名其妙的。 建議有要component就乖乖用cli。用htm...